Zoltan Borok-Nagy has posted comments on this change. ( 
https://gerrit.cloudera.org/25198 )

Change subject: IMPALA-15641: Interpret escapes in the fast paths of LIKE
......................................................................


Patch Set 3:

(2 comments)

Rebased on 25213. Also keeps patterns that are not valid UTF-8 on the regex 
path, so they are still rejected like non-constant patterns (25213's 
test_folded_strings).

https://gerrit.cloudera.org/#/c/25198/1//COMMIT_MSG
Commit Message:

https://gerrit.cloudera.org/#/c/25198/1//COMMIT_MSG@27
PS1, Line 27:
            : A trailing backslash that doesn't escape anything is now a litera
> Based on Claude dropping trailing backslash is pretty non-standard and move
Agreed. In PS2 a trailing lone '\' is a literal in all paths (fast paths, 
ConvertLikePattern() and the Iceberg converter), like in Hive and MySQL. An 
error would only work for constant patterns.


https://gerrit.cloudera.org/#/c/25198/1/fe/src/main/java/org/apache/impala/common/IcebergPredicateConverter.java
File fe/src/main/java/org/apache/impala/common/IcebergPredicateConverter.java:

https://gerrit.cloudera.org/#/c/25198/1/fe/src/main/java/org/apache/impala/common/IcebergPredicateConverter.java@343
PS1, Line 343:
> https://gerrit.cloudera.org/#/c/25213/1/fe/src/main/java/org/apache/impala/
Long term the backend has a single rule, so the converter only needs to 
unescape the pattern once. PS3 is rebased on 25213 and drops its verbatim 
branches.



--
To view, visit https://gerrit.cloudera.org/25198
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia8b6872a6a200bfadb36d3ee83869bde76b8f3a5
Gerrit-Change-Number: 25198
Gerrit-PatchSet: 3
Gerrit-Owner: Zoltan Borok-Nagy <[email protected]>
Gerrit-Reviewer: Arnab Karmakar <[email protected]>
Gerrit-Reviewer: Balazs Hevele <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>
Gerrit-Comment-Date: Tue, 03 Nov 2026 12:00:41 +0000
Gerrit-HasComments: Yes

Reply via email to