8000 Add extended file info to OpenFileInfo, and use this to pass encryption keys and footer size to Parquet reader by Mytherin · Pull Request #17085 · duckdb/duckdb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add extended file info to OpenFileInfo, and use this to pass encryption keys and footer size to Parquet reader #17085

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

Merged
merged 3 commits into from
Apr 14, 2025

Conversation

Mytherin
Copy link
Collaborator

Follow-up to #17071

This PR extends the OpenFileInfo struct with ExtendedOpenFileInfo:

struct ExtendedOpenFileInfo {
	unordered_map<string, Value> options;
};

The Parquet reader is extended to support two keys in this struct:

  • encryption_key: used to pass a global encryption key for the Parquet file to the reader
  • footer_size: used to pass the footer size of the Parquet file to the reader. This can be used to skip the separate reading of the footer length from the back of the file - instead we can directly read the footer. Note that this must be exactly correct - an error is thrown if an incorrect footer size is provided.

@Mytherin Mytherin merged commit b195505 into duckdb:main Apr 14, 2025
49 of 50 checks passed
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 18, 2025
Add extended file info to OpenFileInfo, and use this to pass encryption keys and footer size to Parquet reader (duckdb/duckdb#17085)
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 18, 2025
Add extended file info to OpenFileInfo, and use this to pass encryption keys and footer size to Parquet reader (duckdb/duckdb#17085)
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 18, 2025
Add extended file info to OpenFileInfo, and use this to pass encryption keys and footer size to Parquet reader (duckdb/duckdb#17085)
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 19, 2025
Add extended file info to OpenFileInfo, and use this to pass encryption keys and footer size to Parquet reader (duckdb/duckdb#17085)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0