stevenzwu commented on code in PR #17523:
URL: https://github.com/apache/iceberg/pull/17523#discussion_r3726225942


##########
api/src/main/java/org/apache/iceberg/ManifestFile.java:
##########
@@ -29,6 +29,12 @@
 public interface ManifestFile {
   int PARTITION_SUMMARIES_ELEMENT_ID = 508;
 
+  /**
+   * Sentinel returned by {@link Snapshot#formatVersion()} for snapshots that 
do not report a format
+   * version — e.g. v3-and-earlier snapshots whose top-level file is a 
manifest list.
+   */
+  int LEGACY_FORMAT_VERSION = 0;

Review Comment:
   this is also added in the other PR: 
https://github.com/apache/iceberg/pull/16936/changes#diff-063af8055f56892097a498f7de319845da2e0d328f8241a5fc1b88a0822ac08f
   
   we will rebase one when the other is merged first.



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