aokolnychyi commented on code in PR #11131: URL: https://github.com/apache/iceberg/pull/11131#discussion_r1774236061
########## core/src/main/java/org/apache/iceberg/ManifestFilterManager.java: ########## @@ -81,6 +81,7 @@ public String partition() { // cache filtered manifests to avoid extra work when commits fail. private final Map<ManifestFile, ManifestFile> filteredManifests = Maps.newConcurrentMap(); + private final Set<String> manifestsWithDeletedFiles = Sets.newConcurrentHashSet(); Review Comment: I took another look at `canContainDeletedFiles`. ``` private boolean canContainDeletedFiles(ManifestFile manifest) { if (manifestsWithDeletedFiles.contains(manifest.path())) { return true; } ... } ``` I think the branch only covers cases when we know it is there. If the manifest location is not in the set, we proceed further with reading the manifest. -- 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