You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Jin Sun (JIRA)" <ji...@apache.org> on 2017/04/03 16:45:42 UTC
[jira] [Updated] (PIG-5211) Optimize Nested Limited Sort
[ https://issues.apache.org/jira/browse/PIG-5211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jin Sun updated PIG-5211:
-------------------------
Attachment: PIG-5211-1.patch
[WIP] This is a draft. Wait for comments.
> Optimize Nested Limited Sort
> ----------------------------
>
> Key: PIG-5211
> URL: https://issues.apache.org/jira/browse/PIG-5211
> Project: Pig
> Issue Type: Improvement
> Reporter: Jin Sun
> Assignee: Jin Sun
> Fix For: 0.17.0
>
> Attachments: PIG-5211-1.patch
>
>
> Currently in FOREACH clause, if both LIMIT and ORDER BY are present, pig stores all elements and sort them. It should use a priority queue to be more efficient in space.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)