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] [Created] (HIVE-6349) Column name map is broken
Date Sat, 01 Feb 2014 02:20:09 GMT
Jitendra Nath Pandey created HIVE-6349:
------------------------------------------

             Summary: Column name map is broken 
                 Key: HIVE-6349
                 URL: https://issues.apache.org/jira/browse/HIVE-6349
             Project: Hive
          Issue Type: Sub-task
            Reporter: Jitendra Nath Pandey
            Assignee: Jitendra Nath Pandey


Following query results in exception at run time in vector mode.

{code}
explain select n_name from supplier_orc s join ( select n_name, n_nationkey from nation_orc
n join region_orc r on n.n_regionkey = r.r_regionkey and r.r_name = 'XYZ') n1 on s.s_nationkey
= n1.n_nationkey;
{code}

Here n_name is a string and all other fields are int.

The stack trace:
{code}
java.lang.RuntimeException: Hive Runtime Error while closing operators
	at org.apache.hadoop.hive.ql.exec.mr.ExecMapper.close(ExecMapper.java:260)
	at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:57)
	at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:429)
	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:365)
	at org.apache.hadoop.mapred.Child$4.run(Child.java:255)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:396)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1190)
	at org.apache.hadoop.mapred.Child.main(Child.java:249)
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.VectorHashKeyWrapperBatch.evaluateBatch(VectorHashKeyWrapperBatch.java:116)
	at org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.processOp(VectorMapJoinOperator.java:280)
	at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:790)
	at org.apache.hadoop.hive.ql.exec.vector.VectorSelectOperator.processOp(VectorSelectOperator.java:133)
	at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:790)
	at org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.flushOutput(VectorMapJoinOperator.java:246)
	at org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.closeOp(VectorMapJoinOperator.java:253)
	at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:574)
	at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:585)
	at org.apache.hadoop.hive.ql.exec.mr.ExecMapper.close(ExecMapper.java:234)
	... 8 more
{code}








--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message