dhruvarya-db commented on code in PR #17642:
URL: https://github.com/apache/iceberg/pull/17642#discussion_r4671336870
##########
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:
Good catch, I hadn't thought about upgraded tables. I dropped the format
version rules from both manifest-list and `root-manifest`. The oneOf still
makes sure each snapshot has exactly one of them, and the table spec already
covers which one is used.
##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -3122,11 +3208,16 @@ components:
format-version:
type: integer
minimum: 1
- maximum: 3
+ maximum: 4
table-uuid:
type: string
location:
type: string
+ description:
+ The table's base location.
+ Required through format version 3, where it may be a path without
a URI scheme; readers prepend a scheme for consistency with v4 absolute paths.
Review Comment:
You're right, the table spec already says this. Reverted `location` back to
what it was upstream.
--
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]