hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5329) Date and timestamp type converts invalid strings to '1970-01-01'
Date Wed, 25 Sep 2013 12:48:13 GMT

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

Hudson commented on HIVE-5329:
------------------------------

FAILURE: Integrated in Hive-trunk-hadoop2-ptest #115 (See [https://builds.apache.org/job/Hive-trunk-hadoop2-ptest/115/])
HIVE-5329 : Date and timestamp type converts invalid strings to 1970-01-01 (Jason Dere via
Ashutosh Chauhan) (hashutosh: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1526102)
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFToDate.java
* /hive/trunk/ql/src/test/queries/clientpositive/partition_date.q
* /hive/trunk/ql/src/test/queries/clientpositive/type_conversions_1.q
* /hive/trunk/ql/src/test/results/clientpositive/partition_date.q.out
* /hive/trunk/ql/src/test/results/clientpositive/type_conversions_1.q.out
* /hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/primitive/JavaDateObjectInspector.java
* /hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/primitive/JavaTimestampObjectInspector.java
* /hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/primitive/PrimitiveObjectInspectorUtils.java
* /hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/primitive/WritableDateObjectInspector.java
* /hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/primitive/WritableTimestampObjectInspector.java
* /hive/trunk/serde/src/test/org/apache/hadoop/hive/serde2/objectinspector/primitive/TestPrimitiveObjectInspectorUtils.java

                
> 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
>             Fix For: 0.13.0
>
>         Attachments: HIVE-5329.1.patch, HIVE-5329.2.patch, HIVE-5329.3.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