geruh opened a new pull request, #2890:
URL: https://github.com/apache/iceberg-python/pull/2890

   # Rationale for this change
   
   This PR adds table UUID validation on refresh and commit to detect when a 
table has been replaced. For example, if a table is dropped and recreated with 
the same name, this prevents accidentally operating on a different table than 
expected.
   
   Modeled after the Java implementation.
   
   
https://github.com/apache/iceberg/blob/main/core/src/main/java/org/apache/iceberg/BaseMetastoreTableOperations.java#L202-L209
   
   Python was missing this check.
   
   ## Are these changes tested?
   
   Added some tests at the table and catalog level
   
   ## Are there any user-facing changes?
   
   no
   


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