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

parquet: Add support for user-provided metadata loaders #12592

Open
progval opened this issue Sep 23, 2024 · 0 comments
Open

parquet: Add support for user-provided metadata loaders #12592

progval opened this issue Sep 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@progval
Copy link
Contributor

progval commented Sep 23, 2024

Is your feature request related to a problem or challenge?

This allows users to implement #12547 (caching metadata, especially the Page Index) themselves without reimplementing all of ParquetOpener and ParquetExec

Describe the solution you'd like

Add a method to the object returned by ParquetFileReaderFactory that loads metadata, so that users who overwrite the DefaultParquerFileReaderFactory with SessionState::register_file_format(..., true) can provide their own implementation.

Describe alternatives you've considered

Adding caching support directly in Datafusion. I tried in #12548 but it went nowhere.

Support for caching directly in Datafusion can be added later, based on this feature.

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant