danielcweeks commented on code in PR #15630: URL: https://github.com/apache/iceberg/pull/15630#discussion_r3139546094
########## format/spec.md: ########## @@ -123,9 +128,22 @@ Tables do not require random-access writes. Once written, data and metadata file Tables do not require rename, except for tables that use atomic rename to implement the commit operation for new metadata files. +### Relative Locations in Metadata + +Version 4 of the Iceberg spec adds support for relative locations in metadata, enabling tables to be relocated without rewriting metadata files. Key changes include: + +* Support for relative locations in all metadata tracked path fields, resolved against the table's base location +* The table `location` field becomes optional, allowing the table location to be: + * Provided by an owning catalog + * Inferred from the metadata file location or storage layout + * Supplied directly where necessary Review Comment: It's not specific to just those two operations though. Anywhere/anything that loads directly must know the `metadata.json` to load and the table location. So we shouldn't constrain it to specific use cases in the spec. -- 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]
