Steve Carlin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/22029


Change subject: IMPALA-13511: Calcite planner: support sub-second datetime parts
......................................................................

IMPALA-13511: Calcite planner: support sub-second datetime parts

This commit allows support for milliseconds, microseconds, and
nanoseconds for Calcite.

The ImpalaSqlIntervalQualifier class extends the Calcite
SqlIntervalQualifier class which handles most datetime parts. Some
code was copied from the base class since some of the methods were private,
but in general, the code handling the parts is exactly the same.

Change-Id: I392c3900c70e7754a35ef25fc720ba4a2f2e5dd6
---
M java/calcite-planner/src/main/codegen/config.fmpp
M java/calcite-planner/src/main/codegen/templates/Parser.jj
M 
java/calcite-planner/src/main/java/org/apache/impala/calcite/coercenodes/CoerceOperandShuttle.java
M 
java/calcite-planner/src/main/java/org/apache/impala/calcite/operators/ImpalaOperatorTable.java
A 
java/calcite-planner/src/main/java/org/apache/impala/calcite/type/ImpalaSqlIntervalQualifier.java
5 files changed, 276 insertions(+), 46 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I392c3900c70e7754a35ef25fc720ba4a2f2e5dd6
Gerrit-Change-Number: 22029
Gerrit-PatchSet: 1
Gerrit-Owner: Steve Carlin <[email protected]>

Reply via email to