You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Matt McCline (JIRA)" <ji...@apache.org> on 2015/05/20 23:41:00 UTC

[jira] [Resolved] (HIVE-10368) VectorExpressionWriter doesn't match vectorColumn during row spilling in HybridGraceHashJoin

     [ https://issues.apache.org/jira/browse/HIVE-10368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt McCline resolved HIVE-10368.
---------------------------------
    Resolution: Fixed

> VectorExpressionWriter doesn't match vectorColumn during row spilling in HybridGraceHashJoin
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-10368
>                 URL: https://issues.apache.org/jira/browse/HIVE-10368
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>            Reporter: Wei Zheng
>            Assignee: Matt McCline
>
> This problem was exposed by HIVE-10284, when testing vectorized_context.q
> Below is the query and backtrace:
> {code}
> select store.s_city, ss_net_profit
> from store_sales
> JOIN store ON store_sales.ss_store_sk = store.s_store_sk
> JOIN household_demographics ON store_sales.ss_hdemo_sk = household_demographics.hd_demo_sk
> limit 100
> {code}
> Caused by: java.lang.ClassCastException: org.apache.hadoop.hive.ql.exec.vector.BytesColumnVector cannot be cast to org.apache.hadoop.hive.ql.exec.vector.LongColumnVector
> 	at org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpressionWriterFactory$VectorExpressionWriterLong.writeValue(VectorExpressionWriterFactory.java:175)
> 	at org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.getRowObject(VectorMapJoinOperator.java:347)
> 	at org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.spillBigTableRow(VectorMapJoinOperator.java:306)
> 	at org.apache.hadoop.hive.ql.exec.MapJoinOperator.process(MapJoinOperator.java:390)
> 	... 24 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)