You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Tim Armstrong (JIRA)" <ji...@apache.org> on 2018/10/30 17:15:01 UTC

[jira] [Resolved] (IMPALA-3598) Timestamp casting is inconsistent

     [ 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)