stevenzwu commented on code in PR #13222: URL: https://github.com/apache/iceberg/pull/13222#discussion_r2190740223
########## core/src/main/java/org/apache/iceberg/ManifestFilterManager.java: ########## @@ -224,7 +235,9 @@ List<ManifestFile> filterManifests(Schema tableSchema, List<ManifestFile> manife private boolean canTrustManifestReferences(List<ManifestFile> manifests) { Set<String> manifestLocations = manifests.stream().map(ManifestFile::path).collect(Collectors.toSet()); - return allDeletesReferenceManifests && manifestLocations.containsAll(manifestsWithDeletes); Review Comment: > manifestLocations.containsAll(manifestsWithDeletes) was previously always true even though manifestsWithDeletes was empty Why is this a problem? > is there a situation where allDeletesReferenceManifests is true and the manifestsWithDeletes is empty? To Amogh's question, this would be the case when there is no delete operation. In this case, should `canTrustManifestReferences` return true or false? -- 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