rdblue commented on code in PR #19129:
URL: https://github.com/apache/iceberg/pull/19129#discussion_r4807597400


##########
core/src/main/java/org/apache/iceberg/MergingSnapshotProducer.java:
##########
@@ -191,70 +186,65 @@ protected void failMissingDeletePaths() {
    * @param expr an expression to match rows.
    */
   protected void deleteByRowFilter(Expression expr) {
+    producer.deleteByRowFilter(expr);
     this.deleteExpression = expr;
-    filterManager.deleteByRowFilter(expr);
-    // if a delete file matches the row filter, then it can be deleted because 
the rows will also be
-    // deleted
-    deleteFilterManager.deleteByRowFilter(expr);
+    this.deletesDataFiles = true;

Review Comment:
   I'd prefer to keep this closer to a refactor. We don't need to change 
behavior like this.



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