-
Notifications
You must be signed in to change notification settings - Fork 22
KvWriteBatch wiring in Sender #184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@luoyuxia @fresh-borzoni Would appreciate review here. Found this gap when running the kv table example |
luoyuxia
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@leekeiabstraction Thanks for the pr. LGTM overall. Could you please add IT for put kv so that the ci can cover it to avoid unexpected code breaks put kv.
|
@luoyuxia ack on integration test. There's still one more bug I'm chasing down on lookup side before writing the integ test. Will raise the PRs when I'm done fixing that lookup bug |
fresh-borzoni
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@leekeiabstraction Thanks for PR!
Left comment, PTAL
050d553 to
54d9748
Compare
|
@fresh-borzoni @luoyuxia Appreciate the review. Addressed your comments. PTAL |
| ) -> Result<WriteRequest> { | ||
| let first_batch = &request_batches.first().unwrap().write_batch; | ||
|
|
||
| let request = match first_batch { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we symmetrically validate ArrowLog as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I see, It's a bit hidden invariant at work, I think we may assume that all the batches by table_id are of the same type, so first batch is fine here.
fresh-borzoni
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@leekeiabstraction Thanks for addressing, looks solid.
Left comment about ArrowLog, but as I see Java does the same.
| table_id, | ||
| table_buckets, | ||
| records_by_bucket, | ||
| response, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool macro, but i wonder if this can become an async trait
Purpose
Linked issue: close #183
Wire up KvWriteBatch within Sender
Tested using example Kv table in: PR181