hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashish Sharma (Jira)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-25056) cast ('000-00-00 00:00:00' as timestamp/datetime) results in wrong conversion
Date Mon, 05 Jul 2021 09:23:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-25056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17374698#comment-17374698
] 

Ashish Sharma commented on HIVE-25056:
--------------------------------------

[~anuragshekhar] are you actively working on the ticket. if not can I take it over? 

> 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: 20m
>  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)

Mime
View raw message