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

Mark Wagner updated HIVE-4491:
------------------------------

    Attachment: demonstration.txt

A full demonstration, using the table created in the create_struct_table.q test.
                
> Grouping by a struct throws an exception
> ----------------------------------------
>
>                 Key: HIVE-4491
>                 URL: https://issues.apache.org/jira/browse/HIVE-4491
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.12.0
>            Reporter: Mark Wagner
>         Attachments: demonstration.txt
>
>
> Queries that require a shuffle with a struct as the key result in an 
> exception: {code}Caused by: java.lang.RuntimeException: Hash code on complex 
> types not supported yet.
>       at 
> org.apache.hadoop.hive.serde2.objectinspector.ObjectInspectorUtils.hashCode(ObjectInspectorUtils.java:528)
>       at 
> org.apache.hadoop.hive.ql.exec.ReduceSinkOperator.processOp(ReduceSinkOperator.java:226)
>       at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:531)
>       at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:859)
>       at 
> org.apache.hadoop.hive.ql.exec.GroupByOperator.forward(GroupByOperator.java:1066)
>       at 
> org.apache.hadoop.hive.ql.exec.GroupByOperator.closeOp(GroupByOperator.java:1118)
>       ... 13 more
> {code}

--
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

Reply via email to