You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "niraj rai (JIRA)" <ji...@apache.org> on 2010/08/14 00:08:16 UTC

[jira] Created: (PIG-1545) Secondary alias gives problem, when it has alias in the group by statement.

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


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.


[jira] Updated: (PIG-1545) Secondary alias gives problem, when it has alias in the group by statement.

Posted by "Alan Gates (JIRA)" <ji...@apache.org>.
     [ 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.