malon64 commented on PR #4496:
URL: https://github.com/apache/iceberg-python/pull/4496#issuecomment-7376090622

   Thanks for the retest. Both points were right: the check now compares 
against last-sequence-number and raises CommitFailedException, so expired 
snapshots are covered and the written files get cleaned up.
   
   I also did a full pass on the PR to avoid more back and forth, and fixed a 
few more things:
        •       the replace now checks every branch it writes to, not just main;
        •       dynamic_partition_overwrite inside the transaction now uses the 
new spec/schema/location (it read the committed metadata, which predates this 
PR);
        •       a partitioned v1 table now has to be upgraded before a replace, 
since Java's v1 path keeps the old partition fields and that wasn't implemented.
   
   Tests added for each. A dropped table during the commit still reports 
"commit state unknown"; that also affects plain transactions, so I'll do it in 
a follow-up as it is an existing behaviour.


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