nastra commented on code in PR #12270: URL: https://github.com/apache/iceberg/pull/12270#discussion_r1957809894
########## spark/v3.5/spark/src/main/java/org/apache/iceberg/spark/actions/RemoveDanglingDeletesSparkAction.java: ########## @@ -156,7 +162,12 @@ private List<DeleteFile> findDanglingDeletes() { .or( col("data_file.content") .equalTo("2") - .and(col("sequence_number").$less$eq(col("min_data_sequence_number")))); + .and(col("sequence_number").$less$eq(col("min_data_sequence_number")))) + // dvs pointing to non-existing data files + .or( + col("data_file.file_format") + .equalTo(FileFormat.PUFFIN.name()) Review Comment: sorry I'm not fully following your comment. Can you please elaborate? We mainly care about DVs here (that are puffin files) which point to non-existing data files -- 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