amogh-jahagirdar commented on code in PR #10123: URL: https://github.com/apache/iceberg/pull/10123#discussion_r1561229088
########## core/src/main/java/org/apache/iceberg/BaseRowDelta.java: ########## @@ -43,6 +43,10 @@ protected BaseRowDelta self() { @Override protected String operation() { + if (!addsDataFiles() && addsDeleteFiles()) { Review Comment: If I understand right, wouldn't this condition need to be if (!addsDataFiles() && (addsDeleteFiles() || deletesDataFiles())? ########## core/src/main/java/org/apache/iceberg/BaseRowDelta.java: ########## @@ -43,6 +43,10 @@ protected BaseRowDelta self() { @Override protected String operation() { + if (!addsDataFiles() && addsDeleteFiles()) { Review Comment: Basically I think for a metadata only delete we'd want to make sure the operation is delete -- 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