Arnab Karmakar has posted comments on this change. ( http://gerrit.cloudera.org:8080/25213 )
Change subject: IMPALA-15634: Fix LIKE and folded string push down to Iceberg ...................................................................... Patch Set 1: (1 comment) Thanks for finding out the bugs! A lot of cases were left unseen and I think this also overlaps IMPALA-15633 as I had to rework almost all the logic and made it consistent with the BE. Ive tried to make the testing comprehensive covering all the cases. 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@246 PS1, Line 246: if (leftResult.isPartiallyConverted()) { : return new ConverterResult(ConversionStatus.FAILED, String.format( : "NOT of a partially converted predicate cannot be pushed down to " + : "Iceberg: %s", predicate.toSql())); : } Note for reviewers: This block is unreachable but I left it in because it protects a different rule. Negating a relaxed expression is unsafe whatever produced the relaxation, and line 229 only blocks it for LIKE. If another predicate type ever returns PARTIALLY_CONVERTED, that branch is what stops NOT from over-pruning. I can remove this if we cant carry unreachable code and move the example comment into the comment at line 229. -- 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: 1 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: Tue, 27 Oct 2026 02:22:41 +0000 Gerrit-HasComments: Yes
