hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-1545) Secondary alias gives problem, when it has alias in the group by statement.
Date Tue, 21 Sep 2010 18:11:34 GMT

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

Alan Gates updated PIG-1545:
----------------------------

         Assignee: Xuefu Zhang
    Fix Version/s: 0.9.0

This is a parser issue.  If you do the same operation in the generate it works.

> Secondary alias gives problem, when it has alias in the group by statement.
> ---------------------------------------------------------------------------
>
>                 Key: PIG-1545
>                 URL: https://issues.apache.org/jira/browse/PIG-1545
>             Project: Pig
>          Issue Type: Bug
>            Reporter: niraj rai
>            Assignee: Xuefu Zhang
>             Fix For: 0.9.0
>
>
> When I run the following script, I get the error: Could not open iterator for C.
> A = LOAD '/tmp' as (a:int, b:chararray, c:int);
> B = GROUP A BY (a, b);
> C = FOREACH B { bg = A.(b,c); GENERATE group, bg; } ;

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