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

Daniel Dai updated PIG-1024:
----------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

Patch committed.

> Script contains nested limit fail due to "LOLimit does not support multiple 
> outputs"
> ------------------------------------------------------------------------------------
>
>                 Key: PIG-1024
>                 URL: https://issues.apache.org/jira/browse/PIG-1024
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.4.0
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: 0.6.0
>
>         Attachments: PIG-1024-1.patch
>
>
> The following script fail: 
> a = load '1.txt' as (a0:int, a1:int, a2:int);
> b = group a by a0;
> c = foreach b { c1 = limit a 10;
> c2 = (c1.a0/c1.a1);
> c3 = (c1.a0/c1.a2);
> generate c2, c3;}
> Error message:
> ERROR org.apache.pig.impl.plan.OperatorPlan - Attempt to give operator of type
> org.apache.pig.impl.logicalLayer.LOLimit multiple outputs.  This operator 
> does not support multiple outputs.

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

Reply via email to