aokolnychyi commented on code in PR #9000:
URL: https://github.com/apache/iceberg/pull/9000#discussion_r1385766686


##########
core/src/main/java/org/apache/iceberg/BaseRewriteManifests.java:
##########
@@ -242,7 +241,7 @@ private void performRewrite(List<ManifestFile> 
currentManifests) {
           .executeWith(workerPool())
           .run(
               manifest -> {
-                if (predicate != null && !predicate.test(manifest)) {
+                if (containsDeletes(manifest) || !matchesPredicate(manifest)) {

Review Comment:
   Our `BaseRewriteManifests` can rewrite data manifests as well as simply 
replace manifests rewritten by an external process. Adding support for 
rewriting delete manifests is out of scope. The primary and much more scalable 
way of rewriting manifests is via an action. This PR focuses purely on the 
ability to replace delete manifests rewritten externally.



-- 
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

Reply via email to