Zoltan Borok-Nagy has posted comments on this change. ( https://gerrit.cloudera.org/25415 )
Change subject: IMPALA-15774: Decode SQL string escapes before Calcite simplification ...................................................................... Patch Set 9: (3 comments) https://gerrit.cloudera.org/#/c/25415/9//COMMIT_MSG Commit Message: https://gerrit.cloudera.org/#/c/25415/9//COMMIT_MSG@36 PS9, Line 36: The existing : IMPALA-15753 The IMPALA-15753 cases are new now, not "existing", and they don't match the original planner. https://gerrit.cloudera.org/#/c/25415/9//COMMIT_MSG@39 PS9, Line 39: string_col = '\\061' string-escaping.test has no string_col = '\\061' case, or you mean the string_col = concat(chr(92), '061') case? https://gerrit.cloudera.org/#/c/25415/9/testdata/workloads/functional-query/queries/QueryTest/calcite.test File testdata/workloads/functional-query/queries/QueryTest/calcite.test: https://gerrit.cloudera.org/#/c/25415/9/testdata/workloads/functional-query/queries/QueryTest/calcite.test@1749 PS9, Line 1749: # IMPALA-15753: Test LIKE with an escaped wildcard. These expectations predate IMPALA-15641. On master both planners return false,false,false,false,true,true here (NOT LIKE gives the inverse, and the WHERE query returns no row), so test_calcite_frontend fails. They also pass on master without this change. Could you replace them with select count(*) from functional.alltypestiny where concat('a%', string_col) like 'a\\%_'? It should return 8; master's Calcite returnsĀ 0. -- To view, visit https://gerrit.cloudera.org/25415 To unsubscribe, visit https://gerrit.cloudera.org/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I2f3e3d7c152fe43feea88a97f9b4c892bee4afa4 Gerrit-Change-Number: 25415 Gerrit-PatchSet: 9 Gerrit-Owner: Steve Carlin <[email protected]> Gerrit-Reviewer: Aman Sinha <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Joe McDonnell <[email protected]> Gerrit-Reviewer: Michael Smith <[email protected]> Gerrit-Reviewer: Quanlong Huang <[email protected]> Gerrit-Reviewer: Steve Carlin <[email protected]> Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]> Gerrit-Comment-Date: Thu, 19 Nov 2026 14:12:55 +0000 Gerrit-HasComments: Yes
