hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-1552) Nested describe failed when the alias is not referred in the first foreach inner plan
Date Fri, 20 Aug 2010 22:27:17 GMT

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

Daniel Dai updated PIG-1552:
----------------------------

    Attachment:     (was: PIG-1552-1.patch)

> Nested describe failed when the alias is not referred in the first foreach inner plan
> -------------------------------------------------------------------------------------
>
>                 Key: PIG-1552
>                 URL: https://issues.apache.org/jira/browse/PIG-1552
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.8.0
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: 0.8.0
>
>         Attachments: PIG-1552-1.patch
>
>
> The following script fail:
> {code}
> A = load 'studentab10k' as (name, age, gpa);
> B = group A by name;
> C = foreach B {
>     D = distinct A.age;
>     generate group, COUNT(D);
> }
> describe C::D;
> {code}
> If we remove group from generate statement, then it works

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