Hello Steve Carlin, Michael Smith,

I'd like you to do a code review. Please visit

    http://gerrit.cloudera.org:8080/25234

to review the following change.


Change subject: IMPALA-15697: Calcite planner: unreserve keywords
......................................................................

IMPALA-15697: Calcite planner: unreserve keywords

Treat RESULT, RETURN and USER as non-reserved keywords in the Calcite
parser, matching the original planner. Preserve quoted identifiers,
USER() calls and temporal literal/type syntax.

Add parser regressions and shared query cases for aliases and bare,
qualified and quoted column references.

Testing: 25 parser tests passed; 8 fail on the baseline. Both compiler
factories accept all 24 test queries after the fix, with matching
structural and binary output metadata. Shared QueryTest execution was
not run.

Change-Id: I81d63e18667939a4e34fba5fd6579a1b33e1b695
Assisted-by: gpt-6.1-sol
---
M java/calcite-planner/src/main/codegen/config.fmpp
A 
java/calcite-planner/src/test/java/org/apache/impala/calcite/service/CalciteKeywordIdentifierTest.java
M testdata/workloads/functional-query/queries/QueryTest/exprs.test
3 files changed, 197 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/34/25234/1
--
To view, visit http://gerrit.cloudera.org:8080/25234
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I81d63e18667939a4e34fba5fd6579a1b33e1b695
Gerrit-Change-Number: 25234
Gerrit-PatchSet: 1
Gerrit-Owner: Aleksandr Efimov <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Steve Carlin <[email protected]>

Reply via email to