You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2008/07/18 00:21:32 UTC

[jira] Commented: (PIG-319) Union, Cross is not working

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

Alan Gates commented on PIG-319:
--------------------------------

The fact that cross does not work is a duplicate of PIG-311.  So this bug will be used to track union not working.  

Strangely enough union appears to work in the following scenario:

a = load 'a';
b = load 'b';
a1 = foreach a generate $0, $1;
b1 = foreach b generate $0, $1;
c = union a1, b1;
dump c;

> Union, Cross is not working
> ---------------------------
>
>                 Key: PIG-319
>                 URL: https://issues.apache.org/jira/browse/PIG-319
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: types_branch
>            Reporter: Daniel Dai
>             Fix For: types_branch
>
>
> union and cross operator is not working in branches/types. For example:
> a = load 'a';
> b = load 'b';
> c = union a, b;
> d = cross a, b;
> dump c;     // fail
> dump d;     // fail
> Error message: " Attempt to give operator of type org.apache.pig.impl.physicalLayer.relationalOperators.POLoad multiple inputs.  This operator does not support multiple inputs."

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.