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

Corinne Chandel resolved PIG-1710.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.9.0

Marking resolved.

> Document limitation on how many aliases cogroup can handle and why users 
> should not cogroup more than 127 aliases
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: PIG-1710
>                 URL: https://issues.apache.org/jira/browse/PIG-1710
>             Project: Pig
>          Issue Type: Bug
>          Components: documentation
>            Reporter: Viraj Bhat
>            Assignee: Corinne Chandel
>             Fix For: 0.9.0
>
>
> We have a usecase in Pig where we cogroup on more than 2000 aliases.
> {code}
> cogroup_1 = foreach(cogroup A, B, C ... more than 2000 aliases ) generate 
> flatten (udf(....));
> {code}
> But we found out that there is a limitation on how many aliases a cogroup can 
> handle which is aound 127 
> So we had to workaround this by using 10-15 batches of 127 cogroups.
> {code}
> cogroup_1 = foreach(cogroup A, B, C ... 127 aliases ) generate flatten 
> (udf(....));
> cogroup_2 = foreach(cogroup A, B, C ... 127 aliases ) generate flatten 
> (udf(....));
> ...
> cogroup_15 = foreach(cogroup A, B, C ... 127 aliases ) generate flatten 
> (udf(....));
> {code}
> Is there some documentation on this?
> Viraj

-- 
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