tanmayrauth opened a new pull request, #1070:
URL: https://github.com/apache/iceberg-go/pull/1070

   Add missing validation rules to SetFormatVersion that mirror Java's 
TableMetadata upgrade checks:
   
   - Initialize lastSequenceNumber to 0 when upgrading from v1 to v2+
   - Initialize nextRowID to 0 when upgrading to v3
   - Assign UUID if not already set when upgrading to v2+
   - Validate lastColumnId is not less than the highest field ID in schemas
   
   Validation runs before state mutation to prevent leaving the builder in a 
half-upgraded state on failure.
   
   Closes #1013


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