Impala Public Jenkins has submitted this change and it was merged. ( https://gerrit.cloudera.org/25234 )
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 Reviewed-on: https://gerrit.cloudera.org/25234 Reviewed-by: Zoltan Borok-Nagy <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- 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(-) Approvals: Zoltan Borok-Nagy: Looks good to me, approved Impala Public Jenkins: Verified -- 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: merged Gerrit-Change-Id: I81d63e18667939a4e34fba5fd6579a1b33e1b695 Gerrit-Change-Number: 25234 Gerrit-PatchSet: 6 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]>
