[ 
https://issues.apache.org/jira/browse/HIVE-4612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13667059#comment-13667059
 ] 

Remus Rusanu commented on HIVE-4612:
------------------------------------

The problem is that the BinaryWritable key emitted by VGBy does not match the 
original column type. Eg. if column is 'int' the VGBy will emit 'long', ie. 8 
bytes vs. 4 bytes. The reduce side is reading the 4 bytes it knows about, hence 
the result corruption. 
                
> Vectorized aggregates do not emit proper rows in presence of GROUP BY
> ---------------------------------------------------------------------
>
>                 Key: HIVE-4612
>                 URL: https://issues.apache.org/jira/browse/HIVE-4612
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Query Processor
>    Affects Versions: vectorization-branch
>            Reporter: Remus Rusanu
>            Assignee: Remus Rusanu
>
> I discovered this while testing the fix for HIVE-4451 and HIVE-4452. The VGBy 
> is emitting appropriate number of rows, but the row-mode ReduceSinkOperatoir 
> only logs one row and the final result is incomplete. Investigating. Related 
> to HIVE-4599.

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