Hello Steve Carlin, Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

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

to look at the new patch set (#3).

Change subject: IMPALA-14132: Parse EXTRACT-FROM in Calcite
......................................................................

IMPALA-14132: Parse EXTRACT-FROM in Calcite

Lower EXTRACT(unit FROM value) to the existing two-argument function.
Use the standard SqlCall without a custom wrapper for unparsing,
cloning or expansion state. Unaliased labels use the lowered form.

Add shared e2e coverage for DATE and TIMESTAMP units, NULL values,
expression operands and both syntaxes under Original and Calcite,
with fallback disabled. Retain parser coverage for malformed syntax.

Testing: 8 parser tests and the focused QueryTest pass.

Change-Id: I18d5ffdba6a3e6d5977d763a972c12564c10c30d
---
M java/calcite-planner/src/main/codegen/templates/Parser.jj
A 
java/calcite-planner/src/test/java/org/apache/impala/calcite/service/TestExtractFromParser.java
A 
testdata/workloads/functional-query/queries/QueryTest/calcite-extract-from.test
M tests/query_test/test_calcite_planner.py
4 files changed, 249 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/75/25075/3
--
To view, visit http://gerrit.cloudera.org:8080/25075
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I18d5ffdba6a3e6d5977d763a972c12564c10c30d
Gerrit-Change-Number: 25075
Gerrit-PatchSet: 3
Gerrit-Owner: Aleksandr Efimov <[email protected]>
Gerrit-Reviewer: Aleksandr Efimov <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Steve Carlin <[email protected]>

Reply via email to