chenjunjiedada commented on code in PR #6002:
URL: https://github.com/apache/iceberg/pull/6002#discussion_r998800058


##########
core/src/main/java/org/apache/iceberg/InheritableMetadataFactory.java:
##########
@@ -75,6 +75,13 @@ public <F extends ContentFile<F>> ManifestEntry<F> 
apply(ManifestEntry<F> manife
         manifestEntry.setSequenceNumber(sequenceNumber);
       }
 
+      // in v1 tables, the file sequence number is not persisted and can be 
safely defaulted to 0
+      // in v2 tables, the file sequence number should be inherited iff the 
entry status is ADDED

Review Comment:
   Thanks for the explanation!



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