fqaiser94 commented on code in PR #9860: URL: https://github.com/apache/iceberg/pull/9860#discussion_r1519685957
########## core/src/main/java/org/apache/iceberg/MergingSnapshotProducer.java: ########## @@ -878,7 +886,7 @@ public Object updateEvent() { @SuppressWarnings("checkstyle:CyclomaticComplexity") private void cleanUncommittedAppends(Set<ManifestFile> committed) { - if (cachedNewDataManifests != null) { + if (!cachedNewDataManifests.isEmpty()) { Review Comment: Yea, the reason for this change was just to be consistent with the delete-files approach. -- 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