hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <>
Subject [jira] [Commented] (HIVE-5503) TopN optimization in VectorReduceSink
Date Sat, 26 Oct 2013 02:24:30 GMT


Sergey Shelukhin commented on HIVE-5503:

I have basically moved a lot of logic around TopN from ReduceSink to TopNHash, so TopNHash
itself can handle flushing, disabling etc.
Also, the different behavior for different cases is now covered by a small private interface,
not by entire class, so it doesn't have to be visible outside.
Finally, after that, vectorized batch processing has been added. It adds all keys to heap;
then forwards or stores values for the keys that survived in the heap, same way as for single

> TopN optimization in VectorReduceSink
> -------------------------------------
>                 Key: HIVE-5503
>                 URL:
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Jitendra Nath Pandey
>            Assignee: Sergey Shelukhin
>         Attachments: HIVE-5503.patch
> We need to add TopN optimization to VectorReduceSink as well, it would be great if ReduceSink
and VectorReduceSink share this code.

This message was sent by Atlassian JIRA

View raw message