dhruvarya-db commented on code in PR #17642:
URL: https://github.com/apache/iceberg/pull/17642#discussion_r4671367778


##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -3036,7 +3115,14 @@ components:
           format: int64
         manifest-list:
           type: string
-          description: Location of the snapshot's manifest list file
+          description:
+            Location of the snapshot's manifest list file.
+            Used for format versions 1-3 and must be absent for format version 
4, which uses `root-manifest` instead.

Review Comment:
   I had changed these to "4 and higher" initially, but Daniel pointed out that 
tying this to the table version doesn't really work for upgraded tables. So I 
removed the version wording entirely, which I think also takes care of the 
future proofing.



##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -3036,7 +3115,14 @@ components:
           format: int64
         manifest-list:
           type: string
-          description: Location of the snapshot's manifest list file
+          description:
+            Location of the snapshot's manifest list file.
+            Used for format versions 1-3 and must be absent for format version 
4, which uses `root-manifest` instead.
+        root-manifest:
+          type: string
+          description:
+            Location of the snapshot's root manifest.
+            Required for format version 4 and must be absent for format 
versions 1-3.

Review Comment:
   I had changed these to "4 and higher" initially, but Daniel pointed out that 
tying this to the table version doesn't really work for upgraded tables. So I 
removed the version wording entirely, which I think also takes care of the 
future proofing.



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