[
https://issues.apache.org/jira/browse/IMPALA-3598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tim Armstrong resolved IMPALA-3598.
-----------------------------------
Resolution: Fixed
> Timestamp casting is inconsistent
> ---------------------------------
>
> Key: IMPALA-3598
> URL: https://issues.apache.org/jira/browse/IMPALA-3598
> Project: IMPALA
> Issue Type: Bug
> Components: Backend
> Affects Versions: Impala 2.6.0
> Reporter: Taras Bobrovytsky
> Priority: Minor
>
> The following two queries result in different timestamp casting behavior.
> {code}
> select cast(253430000000 as timestamp);
> {code}
> Result:
> {code}
> 10000-11-16 14:13:20
> {code}
> The following query returns NULL.
> {code}
> select cast("10000-11-16 14:13:20" as timestamp);
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]