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/06/26 15:19:00 UTC

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

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

ASF GitHub Bot logged work on HIVE-25056:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 26/Jun/21 15:18
            Start Date: 26/Jun/21 15:18
    Worklog Time Spent: 10m 
      Work Description: sankarh commented on pull request #2221:
URL: https://github.com/apache/hive/pull/2221#issuecomment-869017322


   @anuragshekhar2020 Could you pls add a unit test?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 615309)
    Time Spent: 20m  (was: 10m)

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