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

Avro data encryption #9436

Merged
merged 6 commits into from
Jan 16, 2024
Merged

Avro data encryption #9436

merged 6 commits into from
Jan 16, 2024

Conversation

ggershinsky
Copy link
Contributor

No description provided.

@github-actions github-actions bot added the core label Jan 8, 2024
@@ -112,7 +112,7 @@ public int read(byte[] b, int off, int len) throws IOException {
}

if (available() <= 0 && len > 0) {
throw new EOFException();
return -1;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@@ -95,6 +102,10 @@ public void write(byte[] b, int off, int len) throws IOException {

@Override
public long getPos() throws IOException {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Iceberg manifest writer calls getPos after closing the avro stream. Wrong value was returned.

@rdblue
Copy link
Contributor

rdblue commented Jan 14, 2024

Looks like this is ready to commit when it is rebased on top of the AES GCM stream changes (#9453).

@rdblue rdblue merged commit bb50ab9 into apache:main Jan 16, 2024
41 checks passed
geruh pushed a commit to geruh/iceberg that referenced this pull request Jan 26, 2024
adnanhemani pushed a commit to adnanhemani/iceberg that referenced this pull request Jan 30, 2024
devangjhabakh pushed a commit to cdouglas/iceberg that referenced this pull request Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants