Julian Hyde created CALCITE-1623:
------------------------------------
Summary: Make sure the Calendar inside DATE, TIME and TIMESTAMP
literals has timezone UTC
Key: CALCITE-1623
URL: https://issues.apache.org/jira/browse/CALCITE-1623
Project: Calcite
Issue Type: Bug
Reporter: Julian Hyde
Assignee: Julian Hyde
At query preparation time, Calcite uses a Calendar to hold the value of DATE,
TIME, TIMESTAMP literals. It assumes that Calendar has a UTC (GMT) time zone.
Bad things probably happen if it does not. We should check, and throw
IllegalArgumentException if not.
(For the record, Calendar is not used at run time. Those values become int or
long, or Integer or Long if nullable.)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)