You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Thejas M Nair (Commented) (JIRA)" <ji...@apache.org> on 2012/03/17 02:50:38 UTC

[jira] [Commented] (PIG-2606) union is 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=13231797#comment-13231797 ] 

Thejas M Nair commented on PIG-2606:
------------------------------------

The plan is incorrect for the following union, when same input is used multiple times -
{code}
grunt> u = union l  , l2, l;
grunt> explain u;
#-----------------------------------------------
# New Logical Plan:
#-----------------------------------------------
u: (Name: LOStore Schema: null)
|
|---u: (Name: LOUnion Schema: null)
    |
    |---l: (Name: LOLoad Schema: null)RequiredFields:null
    |
    |---l2: (Name: LOLoad Schema: null)RequiredFields:null
{code}
                
> union is 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.10
>            Reporter: Thejas M Nair
>
> 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

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