aokolnychyi commented on a change in pull request #3069: URL: https://github.com/apache/iceberg/pull/3069#discussion_r706540247
########## File path: core/src/main/java/org/apache/iceberg/BaseOverwriteFiles.java ########## @@ -129,6 +119,7 @@ protected void validate(TableMetadata base) { if (conflictDetectionFilter != null && base.currentSnapshot() != null) { validateAddedDataFiles(base, startingSnapshotId, conflictDetectionFilter, caseSensitive); + validateAddedDeleteFiles(base, startingSnapshotId, conflictDetectionFilter, caseSensitive); Review comment: Consider we have a data file A and have a copy-on-write operation that overwrites it with a data file B. If a concurrent operation adds a delete file that references records from the data file A, committing the original overwrite would undelete the rows that were deleted concurrently. -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org