[ 
https://issues.apache.org/jira/browse/PIG-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13639977#comment-13639977
 ] 

Cheolsoo Park commented on PIG-3290:
------------------------------------

ACtually, I was totally wrong. I should have run the following script:
{code}
a = load '1.txt';
b = group a by ($0, $1);
c = foreach b generate group.($0, $1);
{code}
In this case, "group.($0, $1)" is named as "group__", which seems fine. Sorry 
that I misunderstood your patch.

+1.
                
> TestLogicalPlanBuilder.testQuery85 fail in trunk
> ------------------------------------------------
>
>                 Key: PIG-3290
>                 URL: https://issues.apache.org/jira/browse/PIG-3290
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.11.2
>            Reporter: Johnny Zhang
>            Assignee: Daniel Dai
>         Attachments: PIG-3290-1.patch
>
>
> I can reproduce it locally as well, the exception is
> {noformat}
> junit.framework.AssertionFailedError: 
> org.apache.pig.impl.plan.PlanValidationException: ERROR 1108: 
> <line 1, column 79> Duplicate schema alias: group
>       at 
> org.apache.pig.test.TestLogicalPlanBuilder.buildPlan(TestLogicalPlanBuilder.java:2211)
>       at 
> org.apache.pig.test.TestLogicalPlanBuilder.testQuery85(TestLogicalPlanBuilder.java:1011)
> {noformat}

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

Reply via email to