You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/01/09 11:28:53 UTC
[jira] [Commented] (HIVE-3090) Timestamp type values not having
nano-second part breaks row
[ https://issues.apache.org/jira/browse/HIVE-3090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13548118#comment-13548118 ]
Hudson commented on HIVE-3090:
------------------------------
Integrated in Hive-trunk-hadoop2 #54 (See [https://builds.apache.org/job/Hive-trunk-hadoop2/54/])
HIVE-3090 Timestamp types not having nano-second part breaks row (Navis via egc) (Revision 1349907)
Result = ABORTED
ecapriolo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1349907
Files :
* /hive/trunk/ql/src/test/queries/clientpositive/timestamp_lazy.q
* /hive/trunk/ql/src/test/results/clientpositive/timestamp_lazy.q.out
* /hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/io/TimestampWritable.java
> Timestamp type values not having nano-second part breaks row
> ------------------------------------------------------------
>
> Key: HIVE-3090
> URL: https://issues.apache.org/jira/browse/HIVE-3090
> Project: Hive
> Issue Type: Bug
> Components: Serializers/Deserializers
> Affects Versions: 0.10.0
> Reporter: Navis
> Assignee: Navis
> Priority: Critical
> Fix For: 0.10.0
>
> Attachments: hive-3090.1.patch.txt, hive-3090.1.patch.txt
>
>
> Timestamp values are reading additional one byte if nano-sec part is zero, breaking following columns.
> {noformat}
> >create table timestamp_1 (t timestamp, key string, value string);
> >insert overwrite table timestamp_1 select cast('2011-01-01 01:01:01' as timestamp), key, value from src limit 5;
> >select t,key,value from timestamp_1;
> 2011-01-01 01:01:01 238
> 2011-01-01 01:01:01 86
> 2011-01-01 01:01:01 311
> 2011-01-01 01:01:01 27
> 2011-01-01 01:01:01 165
> >select t,key,value from timestamp_1 distribute by t;
> 2011-01-01 01:01:01
> 2011-01-01 01:01:01
> 2011-01-01 01:01:01
> 2011-01-01 01:01:01
> 2011-01-01 01:01:01
> {noformat}
--
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