You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/04/27 06:24:00 UTC

[jira] [Updated] (HIVE-25056) cast ('000-00-00 00:00:00' as timestamp/datetime) results in wrong conversion

     [ https://issues.apache.org/jira/browse/HIVE-25056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated HIVE-25056:
----------------------------------
    Labels: pull-request-available  (was: )

> cast ('000-00-00 00:00:00' as timestamp/datetime) results in wrong conversion 
> ------------------------------------------------------------------------------
>
>                 Key: HIVE-25056
>                 URL: https://issues.apache.org/jira/browse/HIVE-25056
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Anurag Shekhar
>            Assignee: Anurag Shekhar
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> select cast ('0000-00-00' as date) , cast ('000-00-00 00:00:00' as timestamp) 
> +--------------+-----------------------+
> |_c0|_c1|
> +--------------+-----------------------+
> |0002-11-30|0002-11-30 00:00:00.0|
> +--------------+-----------------------+



--
This message was sent by Atlassian Jira
(v8.3.4#803005)