[
https://issues.apache.org/jira/browse/CALCITE-7491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mihai Budiu resolved CALCITE-7491.
----------------------------------
Fix Version/s: 1.42.0
Resolution: Fixed
Fixed in
[https://github.com/apache/calcite/commit/ad273f029b9ae1fd110aeea5d4c2ef0fcf411ea5]
Thank you to the 3 reviewers!
> Literals of type TIMESTAMP WITH TIME ZONE cause crashes
> -------------------------------------------------------
>
> Key: CALCITE-7491
> URL: https://issues.apache.org/jira/browse/CALCITE-7491
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.41.0
> Reporter: Mihai Budiu
> Assignee: Mihai Budiu
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.42.0
>
>
> {code:java}
> select TIMESTAMP WITH TIME ZONE '2020-01-01 00:00:00 America/New_York'; {code}
> produces
> {code:java}
> class org.apache.calcite.sql.SqlTimestampTzLiteral cannot be cast to class
> org.apache.calcite.sql.SqlTimestampLiteral {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)