hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-4716) Classcast exception with two group by keys of types string and tinyint.
Date Thu, 13 Jun 2013 19:36:21 GMT

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

Ashutosh Chauhan updated HIVE-4716:
-----------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed to branch. Thanks, Remus!
                
> Classcast exception with two group by keys of types string and tinyint.
> -----------------------------------------------------------------------
>
>                 Key: HIVE-4716
>                 URL: https://issues.apache.org/jira/browse/HIVE-4716
>             Project: Hive
>          Issue Type: Sub-task
>    Affects Versions: vectorization-branch
>            Reporter: Jitendra Nath Pandey
>            Assignee: Remus Rusanu
>             Fix For: vectorization-branch
>
>         Attachments: hive-4716.patch.1.txt
>
>
> Query:
>    select t,sum(i),s from orcsmall where s > "aaa" group by t, s;
> t : tinyint
> i : int
> s : string
> Exception:
> Diagnostic Messages for this Task:
> java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime
Error while processing 
>         at org.apache.hadoop.hive.ql.exec.vector.VectorExecMapper.map(VectorExecMapper.java:164)
>         at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:50)
>         at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:358)
>         at org.apache.hadoop.mapred.MapTask.run(MapTask.java:307)
>         at org.apache.hadoop.mapred.Child.main(Child.java:170)
> Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while
processing 
>         at org.apache.hadoop.hive.ql.exec.vector.VectorMapOperator.process(VectorMapOperator.java:752)
>         at org.apache.hadoop.hive.ql.exec.vector.VectorExecMapper.map(VectorExecMapper.java:146)
>         ... 4 more
> Caused by: java.lang.ClassCastException: org.apache.hadoop.hive.ql.exec.vector.LongColumnVector
cannot be cast to org.apache.hadoop.hive.ql.exec.vector.BytesColumnVector
>         at org.apache.hadoop.hive.ql.exec.vector.VectorHashKeyWrapperBatch.evaluateBatch(VectorHashKeyWrapperBatch.java:151)
>         at org.apache.hadoop.hive.ql.exec.vector.VectorGroupByOperator.processOp(VectorGroupByOperator.java:145)
>         at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:502)
>         at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:832)
>         at org.apache.hadoop.hive.ql.exec.vector.VectorSelectOperator.processOp(VectorSelectOperator.java:120)
>         at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:502)
>         at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:832)
>         at org.apache.hadoop.hive.ql.exec.vector.VectorFilterOperator.processOp(VectorFilterOperator.java:91)
>         at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:502)
>         at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:832)
>         at org.apache.hadoop.hive.ql.exec.TableScanOperator.processOp(TableScanOperator.java:90)
>         at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:502)
>         at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:832)
>         at org.apache.hadoop.hive.ql.exec.vector.VectorMapOperator.process(VectorMapOperator.java:745)
>         ... 5 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message