You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Dmitriy V. Ryaboy (JIRA)" <ji...@apache.org> on 2012/09/05 09:10:10 UTC
[jira] [Commented] (PIG-483) PERFORMANCE: different strategies for
large and small order bys
[ https://issues.apache.org/jira/browse/PIG-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448536#comment-13448536 ]
Dmitriy V. Ryaboy commented on PIG-483:
---------------------------------------
I think Bill's suggestion is cleaner, but in the spirit of not letting the best be an enemy of the good -- can we try to get tests to pass with the existing patch Jie wrote?
> PERFORMANCE: different strategies for large and small order bys
> ---------------------------------------------------------------
>
> Key: PIG-483
> URL: https://issues.apache.org/jira/browse/PIG-483
> Project: Pig
> Issue Type: Improvement
> Affects Versions: 0.2.0
> Reporter: Olga Natkovich
> Assignee: Jie Li
> Labels: gsoc2011, performance
> Attachments: PIG-483.0.patch, PIG-483.1.patch
>
>
> Currently pig always does a multi-pass order by where it first determines a distribution for the keys and then orders in a second pass. This avoids the necessity of having a single reducer. However, in cases where the data is small enough to fit into a single reducer, this is inefficient. For small data sets it would be good to realize the small size of the set and do the order by in a single pass with a single reducer.
> This is a candidate project for Google summer of code 2011. More information about the program can be found at http://wiki.apache.org/pig/GSoc2011
--
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