RussellSpitzer commented on a change in pull request #2520:
URL: https://github.com/apache/iceberg/pull/2520#discussion_r620795682
##########
File path: core/src/main/java/org/apache/iceberg/GenericManifestFile.java
##########
@@ -349,6 +362,9 @@ public Object get(int i) {
this.partitions = value == null ? null :
((List<PartitionFieldSummary>) value).toArray(new
PartitionFieldSummary[0]);
return;
+ case 14:
+ this.keyMetadata = ByteBuffers.toByteArray((ByteBuffer) value);
Review comment:
I think you'll need to do null guarding here as well,
```
this.keyMetadata = value == null ? null : .....
```
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]