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

Dmitriy V. Ryaboy commented on PIG-438:
---------------------------------------

Jonathan, what's the error that is now being thrown in testMissingSemicolon? If 
it's a sensible message , we can change the test to that. If it's something 
that totally obscures the actual missing semicolon error, we should consider 
how to make errors for this kind of case more meaningful.
                
> 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: Jonathan Coveney
>            Priority: Minor
>             Fix For: 0.11
>
>         Attachments: PIG-438.patch
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to