Csaba Ringhofer 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:

(1 comment)

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

https://gerrit.cloudera.org/#/c/25198/3//COMMIT_MSG@26
PS3, Line 26: Hive
What is out approach to Hive compatibility? I would assume that moving away 
from it is breaking change. Note that in some cases Hive is also not consistent 
with itself (vectorized vs non-vectorized), but these are rarer case. while \ 
before ordinary character is pretty common (e.g. path on Windows)

from claude, I couldn't say it better:

"the patch's main behavior change is a backslash before an ordinary character, 
as in s LIKE 'C:\\dir%'. On that, both Hive paths agree: the backslash is 
literal and C:\dirx matches. Impala before this patch also matched it literally 
in the fast paths. After it, Impala matches C:dirx instead. So "Hive isn't 
consistent either" doesn't justify that part; Hive is consistent there, and the 
patch moves away from it.

  For a\\%, there are now three different answers:

  ????????????????????????????????????????????
  ?     Implementation     ?   a\\% means    ?
  ????????????????????????????????????????????
  ? Hive, non-vectorized   ? exactly a\%     ?
  ????????????????????????????????????????????
  ? Hive, vectorized       ? starts with a\\ ?
  ????????????????????????????????????????????
  ? Impala after the patch ? starts with a\  ?
  ????????????????????????????????????????????
"



--
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 14:56:48 +0000
Gerrit-HasComments: Yes

Reply via email to