rdblue commented on a change in pull request #3429:
URL: https://github.com/apache/iceberg/pull/3429#discussion_r740467521



##########
File path: core/src/main/java/org/apache/iceberg/BaseOverwriteFiles.java
##########
@@ -93,9 +100,22 @@ public OverwriteFiles caseSensitive(boolean 
isCaseSensitive) {
   }
 
   @Override
-  public OverwriteFiles validateNoConflictingAppends(Expression 
newConflictDetectionFilter) {
+  public OverwriteFiles conflictDetectionFilter(Expression 
newConflictDetectionFilter) {
     Preconditions.checkArgument(newConflictDetectionFilter != null, "Conflict 
detection filter cannot be null");
     this.conflictDetectionFilter = newConflictDetectionFilter;
+    return this;
+  }
+
+  @Override
+  public OverwriteFiles validateNoConflictingData() {
+    this.validateNewDataFiles = true;
+    failMissingDeletePaths();
+    return this;
+  }
+
+  @Override
+  public OverwriteFiles validateNoConflictingDeletes() {
+    this.validateNewDeleteFiles = true;
     failMissingDeletePaths();

Review comment:
       Yes, this is intentional. This was to preserve the old behavior.




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