pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cheolsoo Park (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (PIG-2636) "duplicate uid in schema" error from script that uses multiple FOREACH on same relation
Date Mon, 04 Mar 2013 06:53:13 GMT

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

Cheolsoo Park resolved PIG-2636.
--------------------------------

       Resolution: Duplicate
    Fix Version/s: 0.11

Closing this as it is resolved by PIG-3020.
                
> "duplicate uid in schema" error from script that uses multiple FOREACH on same relation
> ---------------------------------------------------------------------------------------
>
>                 Key: PIG-2636
>                 URL: https://issues.apache.org/jira/browse/PIG-2636
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Pete Gieser
>            Priority: Minor
>             Fix For: 0.11
>
>
> The following script:
> A = LOAD 'bug.in' AS a:tuple(x:int, y:int);
> B1 = FOREACH A GENERATE a.x, a.y;
> B2 = FOREACH A GENERATE a.x, a.y;
> C = JOIN B1 BY x, B2 by x;
> yields the following error:
> org.apache.pig.impl.plan.PlanValidationException: ERROR 2270: Logical plan invalid state:
duplicate uid in schema : B1::x#35:int,B1::y#36:int,B2::x#35:int,B2::y#36:int

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message