-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Avro data encryption #9436
Conversation
@@ -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; |
There was a problem hiding this comment.
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 { |
There was a problem hiding this comment.
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.
Looks like this is ready to commit when it is rebased on top of the AES GCM stream changes (#9453). |
bb9fa51
to
d7540ee
Compare
No description provided.