szehon-ho commented on a change in pull request #3015:
URL: https://github.com/apache/iceberg/pull/3015#discussion_r758466599



##########
File path: core/src/main/java/org/apache/iceberg/BaseFile.java
##########
@@ -235,45 +235,48 @@ public void put(int i, Object value) {
         this.format = FileFormat.valueOf(value.toString());
         return;
       case 3:
-        this.partitionData = (PartitionData) value;
+        this.partitionSpecId = (value != null) ? (Integer) value : -1;

Review comment:
       Hi guys I am out of town, and may reply slowly.   @stevenzwu i am 
curious did you find a fix?  I'm not sure i understand the complete problem, 
but this change should not modify the serialized form of the metadata file if 
its saved in Flink checkpoint, as specId is a derived field.  See 
VXMetadata.java controlling serialization format, which is not changed.




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