hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5328) Date and timestamp type converts invalid strings to '1970-01-01'
Date Mon, 30 Sep 2013 19:55:26 GMT

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

Thejas M Nair commented on HIVE-5328:
-------------------------------------

This is a duplicate of HIVE-5329. But because of some weird jira state I am unable to close
it.


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



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message