pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olga Natkovich (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-1629) Need ability to limit bags produced during GROUP + LIMIT
Date Thu, 03 Mar 2011 01:17:37 GMT

     [ https://issues.apache.org/jira/browse/PIG-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Olga Natkovich updated PIG-1629:
--------------------------------

    Fix Version/s: 0.10

> Need ability to limit bags produced during GROUP + LIMIT
> --------------------------------------------------------
>
>                 Key: PIG-1629
>                 URL: https://issues.apache.org/jira/browse/PIG-1629
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Olga Natkovich
>            Assignee: Thejas M Nair
>             Fix For: 0.10
>
>
> Currently, the code below will construct the full group in memory and then trim it. This
requires in use of more memory than needed.
> A = load 'data' as (x, y, z);
> B = group A by x;
> C = foreach B{
> D = limit A 100;
> generate group, MyUDF(D);}

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message