Steve Carlin has posted comments on this change. ( 
https://gerrit.cloudera.org/25415 )

Change subject: IMPALA-15774: Decode SQL string escapes before Calcite 
simplification
......................................................................


Patch Set 6:

(3 comments)

https://gerrit.cloudera.org/#/c/25415/6//COMMIT_MSG
Commit Message:

https://gerrit.cloudera.org/#/c/25415/6//COMMIT_MSG@14
PS6, Line 14:
> The Kudu/HBase/DataSource changes also fix the original planner. On master,
I put this in the general string-escaping.test file which seems to be the 
natural place to put it.

Calcite tests will kick in with the post commit job


https://gerrit.cloudera.org/#/c/25415/6//COMMIT_MSG@30
PS6, Line 30:    IMPALA-15753 LIKE cases still match the original planner.
> calcite.test has no IMPALA-15753 cases, since that CR was abandoned. Could
Done


https://gerrit.cloudera.org/#/c/25415/6/java/calcite-planner/src/main/java/org/apache/impala/calcite/service/CalciteOptimizer.java
File 
java/calcite-planner/src/main/java/org/apache/impala/calcite/service/CalciteOptimizer.java:

https://gerrit.cloudera.org/#/c/25415/6/java/calcite-planner/src/main/java/org/apache/impala/calcite/service/CalciteOptimizer.java@150
PS6, Line 150:     rexBuilder.setPostAnalysis();
> Moving setPostAnalysis() makes the EXCEPT marker columns INT instead of TIN
The move was a bit more aesthetically pleasing due to the fact that 
postAnalysis really begins here, but the change isn't needed.  The regression 
is a minor performance regression, but the type is internal to the flow and 
nothing changes in the final outcome.

Having said that, I moved it back.



--
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: 6
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, 12 Nov 2026 17:03:15 +0000
Gerrit-HasComments: Yes

Reply via email to