rdblue commented on a change in pull request #3411:
URL: https://github.com/apache/iceberg/pull/3411#discussion_r825485003



##########
File path: core/src/main/java/org/apache/iceberg/ManifestsTable.java
##########
@@ -73,10 +71,15 @@ MetadataTableType metadataTableType() {
   protected DataTask task(TableScan scan) {
     TableOperations ops = operations();
     String location = scan.snapshot().manifestListLocation();
+    Map<Integer, PartitionSpec> specs = table().specs();

Review comment:
       Can you update this to copy the map into a new `HashMap`? Not all maps 
are serializable with Kryo, so we should make sure it is created by 
`Maps.newHashMap` to be safe.




-- 
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]

Reply via email to