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

Low-Level Arrow Parquet Reader #5522

Open
tustvold opened this issue Mar 17, 2024 · 1 comment
Open

Low-Level Arrow Parquet Reader #5522

tustvold opened this issue Mar 17, 2024 · 1 comment
Labels
enhancement Any new improvement worthy of a entry in the changelog

Comments

@tustvold
Copy link
Contributor

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

Currently we provide ParquetRecordBatchReader and ParquetRecordBatchStream as interfaces to read parquet data.

These interfaces are relatively straightforward to use, but have limitations:

There is the experimental ArrayReader interface, however, this is very hard to use correctly and exposes a lot of what should probably remain implementation details.

Describe the solution you'd like

I would like an interface, perhaps similar in spirit to that added to the write side by #4871, that achieves the following:

  • Makes it easy to parallelise both:
    • The decoding of the parquet leaf columns
    • The re-assembly of the arrow data from the dremel encodings
  • Facilitates overriding the data source, e.g. by exposing the RowGroups trait
  • Avoids exposing too many internal implementation details

Describe alternatives you've considered

Additional context

@Xuanwo
Copy link
Member

Xuanwo commented Dec 20, 2024

Hi, I started a PR for this, please take a look, thanks!

#6907

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Any new improvement worthy of a entry in the changelog
Projects
None yet
Development

No branches or pull requests

2 participants