hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vikram Dixit K (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5329) Date and timestamp type converts invalid strings to '1970-01-01'
Date Fri, 20 Sep 2013 20:16:52 GMT

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

Vikram Dixit K commented on HIVE-5329:
--------------------------------------

+1
                
> Date and timestamp type converts invalid strings to '1970-01-01'
> ----------------------------------------------------------------
>
>                 Key: HIVE-5329
>                 URL: https://issues.apache.org/jira/browse/HIVE-5329
>             Project: Hive
>          Issue Type: Bug
>          Components: Types
>    Affects Versions: 0.12.0
>            Reporter: Vikram Dixit K
>            Assignee: Jason Dere
>            Priority: Blocker
>         Attachments: HIVE-5329.1.patch
>
>
> {noformat}
> select
>   cast('abcd' as date),
>   cast('abcd' as timestamp)
> from src limit 1;
> {noformat}
> returns '1970-01-01'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message