aditya-subrahmanyan opened a new pull request, #2010:
URL: https://github.com/apache/iceberg-rust/pull/2010

   ## Which issue does this PR close?
   
   - Closes #2009.
   
   ## What changes are included in this PR?
   
   Make row lineage fields `first-row-id` and `added-rows` optional in 
SnapshotV3 to support upgrading tables of older versions with pre-existing 
snapshots. According to the Iceberg spec, existing snapshots should remain 
unchanged during upgrades from to v3.
   
   Additionally, this also fixes the initialization of the next-row-id during 
upgrades, as defined in the spec:
   https://iceberg.apache.org/spec/#row-lineage-for-upgraded-tables.
   
   ## Are these changes tested?
   
   Added tests to validate v2 to v3 upgrade for table metadata, as described in 
the issue, and confirm that row lineage information is preserved/generated 
correctly.


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