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


##########
format/spec.md:
##########
@@ -57,6 +57,21 @@ Version 3 of the Iceberg spec extends data types and 
existing metadata structure
 
 The full set of changes are listed in [Appendix E](#version-3).
 
+### Version 4: Metadata Structure, Statistics Representation, Relative Paths, 
Expressions
+
+#### Relative Paths
+
+Version 4 of the Iceberg spec adds support for relative paths in metadata, 
enabling tables to be relocated without rewriting metadata files. Key changes 
include:

Review Comment:
   > enabling tables to be relocated without rewriting metadata files.
   
   To achieve this goal, we probably need a boolean flag to indicate if the 
referenced paths are 100% relative or not. Otherwise, the migration/replication 
tool still need to scan every metadata files to check if rewrite is needed or 
not. Read is still better than actual rewrite. But a flag will really be 
helpful.
   
   It can just be a write config to require only writing relative paths. After 
a maintenance action fully converted paths to relative, the write config can be 
set and enforce writer behaviors. But the writer configs are usually advisory 
(not required).



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