[
https://issues.apache.org/jira/browse/HIVE-9249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gopal V resolved HIVE-9249.
---------------------------
Resolution: Fixed
Fix Version/s: 0.14.1
Release Note: HIVE-9249: Vectorization: Join involving CHAR/VARCHAR fails
during execution. (Matt McCline, reviewed by Gopal V)
Committed to branch and trunk, thanks [~mmccline].
> java.lang.ClassCastException:
> org.apache.hadoop.hive.serde2.io.HiveVarcharWritable cannot be cast to
> org.apache.hadoop.hive.common.type.HiveVarchar when joining tables
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HIVE-9249
> URL: https://issues.apache.org/jira/browse/HIVE-9249
> Project: Hive
> Issue Type: Bug
> Components: Vectorization
> Affects Versions: 0.14.0
> Reporter: Matt McCline
> Assignee: Matt McCline
> Priority: Critical
> Fix For: 0.15.0, 0.14.1
>
> Attachments: HIVE-9249.01.patch, HIVE-9249.hive-14.patch
>
>
> VectorColumnAssignFactory doesn't handle HiveCharWritable /
> HiveVarcharWritable objects.
> Either:
> HiveVarcharWritable cannot be cast to ... HiveVarchar
> or
> HiveCharWritable cannot be cast to ... HiveChar
> {code}
> Caused by: java.lang.ClassCastException:
> org.apache.hadoop.hive.serde2.io.HiveVarcharWritable cannot be cast to
> org.apache.hadoop.hive.common.type.HiveVarchar
> at
> org.apache.hadoop.hive.ql.exec.vector.VectorColumnAssignFactory$17.assignObjectValue(VectorColumnAssignFactory.java:417)
> at
> org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.internalForward(VectorMapJoinOperator.java:196)
> at
> org.apache.hadoop.hive.ql.exec.CommonJoinOperator.genAllOneUniqueJoinObject(CommonJoinOperator.java:670)
> at
> org.apache.hadoop.hive.ql.exec.CommonJoinOperator.checkAndGenObject(CommonJoinOperator.java:748)
> at
> org.apache.hadoop.hive.ql.exec.MapJoinOperator.processOp(MapJoinOperator.java:299)
> ... 24 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)