hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jitendra Nath Pandey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-6662) Vector Join operations with DATE columns fail
Date Fri, 14 Mar 2014 18:26:45 GMT

    [ 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)

Mime
View raw message