pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (PIG-946) Combiner optimizer does not optimize when limit follow group, foreach
Date Wed, 05 Jan 2011 16:52:48 GMT

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

Thejas M Nair resolved PIG-946.
-------------------------------

    Resolution: Fixed

Patch committed to trunk.


> Combiner optimizer does not optimize when limit follow group, foreach
> ---------------------------------------------------------------------
>
>                 Key: PIG-946
>                 URL: https://issues.apache.org/jira/browse/PIG-946
>             Project: Pig
>          Issue Type: Improvement
>    Affects Versions: 0.3.0
>            Reporter: Pradeep Kamath
>            Assignee: Thejas M Nair
>             Fix For: 0.9.0
>
>         Attachments: PIG-946-codechange-draft.patch, PIG-946.1.patch
>
>
> The following script is combinable but is not optimized:
> a = load '/user/pig/tests/data/singlefile/studenttab10k';
> b = group a by $1;
> c = foreach b generate group, AVG(a.$2);
> d = limit c 10;
> dump d;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message