[ https://issues.apache.org/jira/browse/HIVE-21837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Naresh P R updated HIVE-21837: ------------------------------ Fix Version/s: 4.0.0 Affects Version/s: 3.0.0 Attachment: HIVE-21837.1.patch Target Version/s: 4.0.0 Status: Patch Available (was: In Progress) > MapJoin is throwing exception when selected column is having completely null > values > ----------------------------------------------------------------------------------- > > Key: HIVE-21837 > URL: https://issues.apache.org/jira/browse/HIVE-21837 > Project: Hive > Issue Type: Bug > Affects Versions: 3.0.0 > Reporter: Naresh P R > Assignee: Naresh P R > Priority: Major > Fix For: 4.0.0 > > Attachments: HIVE-21837.1.patch > > > With huge data, below query > {code:java} > SELECT > a.id, > null > FROM table a > JOIN table b ON (a.id = b.id) > JOIN (SELECT '1234' id, 'deptno' type UNION ALL SELECT '5678' id, 'deptno' > type) c ON (c.type = a.type){code} > is throwing below exception. > {code:java} > Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Column vector > class org.apache.hadoop.hive.ql.exec.vector.VoidColumnVector is not supported! > at > org.apache.hadoop.hive.ql.exec.vector.VectorizedBatchUtil.makeLikeColumnVector(VectorizedBatchUtil.java:624) > at > org.apache.hadoop.hive.ql.exec.vector.VectorizedBatchUtil.makeLike(VectorizedBatchUtil.java:861) > at > org.apache.hadoop.hive.ql.exec.vector.mapjoin.VectorMapJoinCommonOperator.commonSetup(VectorMapJoinCommonOperator.java:583) > at > org.apache.hadoop.hive.ql.exec.vector.mapjoin.VectorMapJoinGenerateResultOperator.commonSetup(VectorMapJoinGenerateResultOperator.java:128) > at > org.apache.hadoop.hive.ql.exec.vector.mapjoin.VectorMapJoinInnerGenerateResultOperator.commonSetup(VectorMapJoinInnerGenerateResultOperator.java:112) > at > org.apache.hadoop.hive.ql.exec.vector.mapjoin.VectorMapJoinInnerMultiKeyOperator.process(VectorMapJoinInnerMultiKeyOperator.java:119) > ... 21 more{code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)