Hello Zoltan Borok-Nagy, Steve Carlin, Michael Smith, Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
https://gerrit.cloudera.org/25234
to look at the new patch set (#5).
Change subject: IMPALA-15697, IMPALA-15535: Unreserve keywords
......................................................................
IMPALA-15697, IMPALA-15535: Unreserve keywords
Treat RESULT, RETURN, TIME and USER as non-reserved keywords in the
Calcite parser, matching the original planner. Parse USER qualifiers
as compound identifiers while preserving USER() and temporal syntax.
Add parser regressions for aliases, column references, USER qualifiers,
GROUP BY and CTEs. Put query cases in calcite.test so fallback cannot
hide a Calcite parse error.
Testing: regenerated and compiled the parser; all 17 tests in
CalciteKeywordIdentifierTest passed. Restoring USER in ContextVariable
fails the three qualifier regressions. QueryTest execution was not run.
Change-Id: I81d63e18667939a4e34fba5fd6579a1b33e1b695
Assisted-by: gpt-6.1-sol
---
M java/calcite-planner/src/main/codegen/config.fmpp
M java/calcite-planner/src/main/codegen/templates/Parser.jj
A
java/calcite-planner/src/test/java/org/apache/impala/calcite/service/CalciteKeywordIdentifierTest.java
M testdata/workloads/functional-query/queries/QueryTest/calcite.test
4 files changed, 275 insertions(+), 1 deletion(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/34/25234/5
--
To view, visit https://gerrit.cloudera.org/25234
To unsubscribe, visit https://gerrit.cloudera.org/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I81d63e18667939a4e34fba5fd6579a1b33e1b695
Gerrit-Change-Number: 25234
Gerrit-PatchSet: 5
Gerrit-Owner: Aleksandr Efimov <[email protected]>
Gerrit-Reviewer: Aleksandr Efimov <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Steve Carlin <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>