You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org> on 2014/03/14 19:26:45 UTC
[jira] [Commented] (HIVE-6662) Vector Join operations with DATE
columns fail
[ https://issues.apache.org/jira/browse/HIVE-6662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13935401#comment-13935401 ]
Jitendra Nath Pandey commented on HIVE-6662:
--------------------------------------------
Please use DateWritable#getDays, the date representation is number of days since epoch.
> Vector Join operations with DATE columns fail
> ---------------------------------------------
>
> Key: HIVE-6662
> URL: https://issues.apache.org/jira/browse/HIVE-6662
> Project: Hive
> Issue Type: Bug
> Reporter: Gopal V
> Assignee: Gopal V
> Attachments: HIVE-6662.1.patch
>
>
> Trying to generate a DATE column as part of a JOIN's output throws an exception
> {code}
> Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Incompatible Long vector column and primitive category DATE
> at org.apache.hadoop.hive.ql.exec.vector.VectorColumnAssignFactory.buildObjectAssign(VectorColumnAssignFactory.java:306)
> at org.apache.hadoop.hive.ql.exec.vector.VectorColumnAssignFactory.buildAssigners(VectorColumnAssignFactory.java:414)
> at org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.internalForward(VectorMapJoinOperator.java:235)
> at org.apache.hadoop.hive.ql.exec.CommonJoinOperator.genAllOneUniqueJoinObject(CommonJoinOperator.java:670)
> at org.apache.hadoop.hive.ql.exec.CommonJoinOperator.checkAndGenObject(CommonJoinOperator.java:754)
> at org.apache.hadoop.hive.ql.exec.MapJoinOperator.processOp(MapJoinOperator.java:229)
> at org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.processOp(VectorMapJoinOperator.java:292)
> at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:790)
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)