Arnab Karmakar has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/25213 )

Change subject: IMPALA-15633/IMPALA-15634: Fix LIKE and folded string push down 
to Iceberg
......................................................................


Patch Set 2:

(3 comments)

Thanks for the comments!

http://gerrit.cloudera.org:8080/#/c/25213/1//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/25213/1//COMMIT_MSG@7
PS1, Line 7: IMPALA-15633/IMPALA-15634: Fix LIKE and folded string push down to 
Iceberg
> This also fixes IMPALA-15633, please name both Jiras in the title
Done


http://gerrit.cloudera.org:8080/#/c/25213/1/fe/src/main/java/org/apache/impala/common/IcebergPredicateConverter.java
File fe/src/main/java/org/apache/impala/common/IcebergPredicateConverter.java:

http://gerrit.cloudera.org:8080/#/c/25213/1/fe/src/main/java/org/apache/impala/common/IcebergPredicateConverter.java@229
PS1, Line 229:     boolean changed_ = false;
             :     // The columns of the LIKE and NOT LIKE predicates.
             :     final Set<String> likeColumns_ = new HashSet<>();
             :
> This also drops pruning where NULL can't pass, e.g. p LIKE 'c%' OR p LIKE '
Yeah right, but since this patch has already become a little big, we should 
address this as a follow-up. Filed IMPALA-15720.


http://gerrit.cloudera.org:8080/#/c/25213/1/fe/src/main/java/org/apache/impala/common/IcebergPredicateConverter.java@246
PS1, Line 246:       }
             :       // Expressions.rewriteNot() removes every NOT.
             :       Preconditions.checkState(expr instanceof UnboundPredicate, 
expr);
             :       return rewrite((UnboundPredicate<?>) expr);
             :     }
> Yes, we will potentially have relaxed predicates for TIMESTAMPS, see IMPALA
Sure. Kept the safeguard.



--
To view, visit http://gerrit.cloudera.org:8080/25213
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I69d178f63914c88650d546f46cec2ac34077dc2a
Gerrit-Change-Number: 25213
Gerrit-PatchSet: 2
Gerrit-Owner: Arnab Karmakar <[email protected]>
Gerrit-Reviewer: Arnab Karmakar <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>
Gerrit-Comment-Date: Sat, 31 Oct 2026 17:36:58 +0000
Gerrit-HasComments: Yes

Reply via email to