Fokko commented on code in PR #122:
URL: https://github.com/apache/iceberg-rust/pull/122#discussion_r1431073684


##########
crates/iceberg/src/spec/manifest.rs:
##########
@@ -79,6 +79,22 @@ impl Manifest {
 
         Ok(Manifest { metadata, entries })
     }
+
+    /// Upgrade the format version of this manifest.
+    pub fn upgrade_version(&mut self, format_version: FormatVersion) -> 
Result<(), Error> {

Review Comment:
   > +1 for this concern. Version upgrade is part of transaction api, it 
involves full rewrite of all things like snapshot, and should not do it here.
   
   This is not correct, and V2 is forward-compatible. If you apply the rules of 
schema evolution (as with any other Iceberg table), it should work seamlessly. 
You don't want to rewrite a multi-petabyte table when you do any meta operation.



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to