Hello Steve Carlin, Michael Smith, Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
https://gerrit.cloudera.org/25077
to look at the new patch set (#8).
Change subject: IMPALA-15530: Preserve Calcite expression labels
......................................................................
IMPALA-15530: Preserve Calcite expression labels
Save source labels before validation rewrites calls and qualifies
identifiers. Render STRING and DECIMAL casts using Impala syntax.
Preserve interval unit spelling, including subsecond units, and avoid
MySQL's extra parentheses. Change only the copy used to render labels.
Keep source label collection and rendering in CalciteParsedStatement.
Run the SQL regressions through the shared expression suite. Keep direct
Java label tests and add a shell header regression for decimal casts.
Accept either planner's lexical-error text in the escaped-quote shell
test; keep its valid and invalid query checks.
Testing: CalciteColumnLabelsTest (17 tests).
Change-Id: I0e91b2ff8008513d0a097af806a2437ca725a542
Assisted-by: gpt-6.1-sol (Codex)
---
M
java/calcite-planner/src/main/java/org/apache/impala/calcite/service/CalciteParsedStatement.java
M
java/calcite-planner/src/main/java/org/apache/impala/calcite/service/CalciteRelNodeConverter.java
A
java/calcite-planner/src/test/java/org/apache/impala/calcite/service/CalciteColumnLabelsTest.java
A testdata/workloads/functional-query/queries/QueryTest/expression-labels.test
M tests/query_test/test_exprs.py
M tests/shell/test_shell_commandline.py
M tests/shell/test_shell_interactive.py
7 files changed, 498 insertions(+), 31 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/77/25077/8
--
To view, visit https://gerrit.cloudera.org/25077
To unsubscribe, visit https://gerrit.cloudera.org/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I0e91b2ff8008513d0a097af806a2437ca725a542
Gerrit-Change-Number: 25077
Gerrit-PatchSet: 8
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]>