Skip to content
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

GH-38865 [C++][Parquet] support passing a RowRange to RecordBatchReader #39731

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

binmahone
Copy link

@binmahone binmahone commented Jan 22, 2024

Rationale for this change

This PR is a supserset of #39608.
Skipping Page IO is supported in Pre-Buffer read mode.

What changes are included in this PR?

In this PR, RangeCacheEntry cached in range cache is modified:
Instead of caching the whole ReadRange, we excluded the bytes within holes, which is calculated by user specified RowRange.

Are these changes tested?

Yes, range_read_test.cc

Are there any user-facing changes?

a new GetRecordBatchReader API overload is added. NO existing API is broken

one thread for each logical range

fix prebuffer conflict with datappagefilter

fix coalesce problem

ading tests

fix style
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[C++][Parquet] support passing a RowRange to RecordBatchReader
1 participant