jasonf20 commented on code in PR #10962: URL: https://github.com/apache/iceberg/pull/10962#discussion_r1874771178
########## core/src/main/java/org/apache/iceberg/ManifestFilterManager.java: ########## @@ -363,6 +363,10 @@ private ManifestFile filterManifest( } private boolean canContainDeletedFiles(ManifestFile manifest, boolean trustManifestReferences) { + if (manifest.minSequenceNumber() > 0 && manifest.minSequenceNumber() < minSequenceNumber) { + return true; + } Review Comment: As a side note I think it's better to make sure `dropDeleteFilesOlderThan` does work. We have encountered tables that have many old EQ deleted files that were compacted and no longer apply to any data files, but were not removed from the table's manifests. Note that some manifests contain only irrelevant deletes and would not opportunistically get re-written for other purposes. Also, ReWriteManifests currently ignores delete manifests. -- 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