pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-5211) Optimize Nested Limited Sort
Date Wed, 12 Apr 2017 17:59:41 GMT

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

Daniel Dai commented on PIG-5211:
---------------------------------

Also opened PIG-5220 to improve NestedLimitOptimizer.

> 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, PIG-5211-2.patch, PIG-5211-3.patch, PIG-5211-4.patch,
PIG-5211-5.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)

Mime
View raw message