You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2013/09/30 21:55:26 UTC
[jira] [Commented] (HIVE-5328) Date and timestamp type converts
invalid strings to '1970-01-01'
[ 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)