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

   `UpdateAndStageTable` validated commit requirements only when the table 
already existed. For a missing table it constructed synthetic metadata and 
applied creation updates without calling `Validate(nil)`, allowing requirements 
such as table UUID, schema ID, or snapshot reference assertions to be bypassed 
across the SQL, Glue, and Hive catalogs.
   
   Requirements are now validated before the helper chooses its staging 
metadata: existing tables validate against current metadata, while missing 
tables validate against nil. Regression coverage verifies that 
`AssertTableUUID` rejects an otherwise valid creation commit without writing 
metadata, while `AssertCreate` still stages the same creation updates 
successfully.
   


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