[client] Implement BatchScanner with limit-based scan#515
Conversation
fresh-borzoni
left a comment
There was a problem hiding this comment.
@Arnav-panjla Ty for the PR, left some comments, PTAL
|
@Arnav-panjla Do you need any help, will you be able to address comments in the review? |
|
@Arnav-panjla Let us know if you wish to continue working on this PR, or we can take it over to finish |
|
very sry , |
@Arnav-panjla No rush, I just need to understand that you wish to continue working on this. |
e43866c to
9ca191f
Compare
Implements a one-shot bounded BatchScanner backed by a single LimitScanRequest RPC (fixes apache#316): - adds TableScan::limit and create_batch_scanner - eager RPC with leader resolution (mirrors Lookuper) - Arrow IPC (log) and KV -> RecordBatch (PK) decoding - projection support Squashed from PR apache#515.
1c3290c to
a7b994f
Compare
|
@Arnav-panjla Ty for the changes, LGTM overall @charlesdong1991 @leekeiabstraction Can you take a look as well? |
a7b994f to
6521684
Compare
charlesdong1991
left a comment
There was a problem hiding this comment.
very nice pr! just a couple minor comments/questions
|
@charlesdong1991 Ty for the review, addressed, PTAL 🙏 |
Purpose
Fixes #316
Implement one-shot
BatchScannerusingLimitScanRequest.Brief change log
limittoTableScancreate_batch_scannerBatchScanner(eager RPC, singlepoll_batch)RecordBatch(PK) decodingTests
cargo test)cargo check,clippy,fmtAPI and Format
API Change: Yes
BatchScanner,TableScan::limit,create_batch_scannerStorage Format: No
Documentation
No