[
https://issues.apache.org/jira/browse/HIVE-5328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergio Peña resolved HIVE-5328.
-------------------------------
Resolution: Duplicate
> 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
> 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.3.4#6332)