pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olga Natkovich (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PIG-438) Handle realiasing of existing Alias (A=B;)
Date Wed, 06 Apr 2011 21:28:05 GMT

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

Olga Natkovich updated PIG-438:
-------------------------------

    Fix Version/s:     (was: 0.9.0)

> Handle realiasing of existing Alias (A=B;) 
> -------------------------------------------
>
>                 Key: PIG-438
>                 URL: https://issues.apache.org/jira/browse/PIG-438
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.2.0
>            Reporter: Pradeep Kamath
>            Assignee: Xuefu Zhang
>            Priority: Minor
>             Fix For: 0.10
>
>
> We do not handle re-aliasing of an existing alias - this should be handled correctly.
> The following script should work:
> {code}
> a = load 'studenttab10k';
> b = filter a by $1 > '25';
> c = b;
> -- use b
> d = cogroup b by $0, a by $0;
> e = foreach d generate flatten(b), flatten(a);
> dump e
> -- use c
> f = cogroup c by $0, a by $0;
> g = foreach f generate flatten(c), flatten(a);
> dump g;
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message