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

Core: Add StandardEncryptionManager #9277

Merged
merged 14 commits into from
Dec 12, 2023
Merged

Conversation

rdblue
Copy link
Contributor

@rdblue rdblue commented Dec 11, 2023

This is an update to #6884 with a few final fixes to the StandardEncryptionManager and related classes. This is almost entirely @ggershinsky's work, I'm just submitting this to unblock merging since he's OOO right now.


if (FileFormat.fromString(fileFormat) != FileFormat.PARQUET) {
throw new UnsupportedOperationException(
"Iceberg encryption currently supports only parquet format for data files");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Maybe, "Iceberg encryption for data files currently only supports parquet, default file format of $format is set as $DEFAULT_FILE_FORMAT""

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're going to remove this anyway in the next PR since it doesn't actually prevent writing Avro or ORC files with encryption turned on.

Copy link
Member

@RussellSpitzer RussellSpitzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, tiny nit on the error message for invalid default data file format.

@rdblue rdblue merged commit 36ecab4 into apache:main Dec 12, 2023
46 checks passed
@rdblue
Copy link
Contributor Author

rdblue commented Dec 12, 2023

Thanks for the final review, @RussellSpitzer!

@rdblue rdblue mentioned this pull request Dec 12, 2023
lisirrx pushed a commit to lisirrx/iceberg that referenced this pull request Jan 4, 2024
Co-Authored-By: Jian Tang <jian_tang@apple.com>
Co-authored-by: Gidon Gershinsky <ggershinsky@apple.com>
geruh pushed a commit to geruh/iceberg that referenced this pull request Jan 26, 2024
Co-Authored-By: Jian Tang <jian_tang@apple.com>
Co-authored-by: Gidon Gershinsky <ggershinsky@apple.com>
devangjhabakh pushed a commit to cdouglas/iceberg that referenced this pull request Apr 22, 2024
Co-Authored-By: Jian Tang <jian_tang@apple.com>
Co-authored-by: Gidon Gershinsky <ggershinsky@apple.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

3 participants