rdblue opened a new pull request #2865:
URL: https://github.com/apache/iceberg/pull/2865


   This adds a new validation for `RewriteFiles` that checks whether delete 
files have been added for any of the files that are being rewritten. The check 
constructs a delete file index for all the delete files in snapshots written 
since a starting snapshot and filters the delete file entries using the 
sequence number of the starting snapshot to ensure that only delete files that 
were added after the starting snapshot are indexed. Next, if any data file 
being replaced matches a delete file in the index, a validation exception is 
thrown.
   
   This also updates actions to correctly set the starting snapshot ID for 
validation.
   
   This fixes #2308.


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