ggershinsky commented on code in PR #5544: URL: https://github.com/apache/iceberg/pull/5544#discussion_r1642836390
########## core/src/main/java/org/apache/iceberg/TableMetadataParser.java: ########## @@ -472,10 +501,22 @@ public static TableMetadata fromJson(String metadataLocation, JsonNode node) { Preconditions.checkArgument( snapshotArray.isArray(), "Cannot parse snapshots from non-array: %s", snapshotArray); + if (node.has(SNAPSHOT_KEK)) { + String wrappedKeyEncryptionKey = JsonUtil.getString(SNAPSHOT_KEK, node); + if (wrappedKeyEncryptionKey != null) { Review Comment: no need in this check -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org