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

[C++][Parquet] Expose ReadRanges in Parquet FileReader #45092

Open
zeroshade opened this issue Dec 20, 2024 · 0 comments
Open

[C++][Parquet] Expose ReadRanges in Parquet FileReader #45092

zeroshade opened this issue Dec 20, 2024 · 0 comments

Comments

@zeroshade
Copy link
Member

Describe the enhancement requested

Currently, in the Parquet library there is a significant infrastructure for computing the byte ranges that are necessary to read for a given set of columns and row groups in order to pre-buffer the file data via various caching mechanisms. Unfortunately, none of this infrastructure is externally exposed via the API.

There's no way for a consumer to simply query what byte ranges of the file were going to be necessary to read specific columns and row groups without actually implementing their own ReadRangeCache and the FileReader assuming that they are actually performing the caching.

We can add a simple function to the FileReader which returns the computed column chunk ranges, coalescing them as necessary, to provide this functionality information.

Component(s)

C++, Parquet

@zeroshade zeroshade changed the title [Parquet] Expose ReadRanges in Parquet FileReader [C++][Parquet] Expose ReadRanges in Parquet FileReader Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant