You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2013/08/29 00:32:51 UTC

[jira] [Commented] (PIG-2606) union/ join operations are not accepting same alias as multiple inputs

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

Daniel Dai commented on PIG-2606:
---------------------------------

[~hsubramaniyan], can we add a test case?
                
> union/ join operations are not accepting same alias as multiple inputs
> ----------------------------------------------------------------------
>
>                 Key: PIG-2606
>                 URL: https://issues.apache.org/jira/browse/PIG-2606
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.2, 0.10.0
>            Reporter: Thejas M Nair
>            Assignee: Hari Sankar Sivarama Subramaniyan
>         Attachments: PIG-2606.patch.txt
>
>
> grunt> l = load 'x';   
> grunt> u = union l, l; 
> 2012-03-16 18:48:45,687 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2998: Unhandled internal error. Union with Count(Operand) < 2
> grunt> a = load 'a0.txt' as (a0, a1);
> grunt> b = join a by a0, a by a1;    
> 2013-08-27 13:36:21,807 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2225: Projection with nothing to reference!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira