ggershinsky commented on code in PR #6762:
URL: https://github.com/apache/iceberg/pull/6762#discussion_r1322424459
##########
data/src/main/java/org/apache/iceberg/data/DeleteFilter.java:
##########
@@ -293,6 +295,13 @@ private CloseableIterable<Record> openDeletes(DeleteFile
deleteFile, Schema dele
builder.filter(Expressions.equal(MetadataColumns.DELETE_FILE_PATH.name(),
filePath));
}
+ if (deleteFile.keyMetadata() != null) {
+ EncryptionKeyMetadata keyMetadata =
+ EncryptionUtil.parseKeyMetadata(deleteFile.keyMetadata());
Review Comment:
keyMetadata() is always a ByteBuffer here, so it has to be parsed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]