You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Kevin Weil (JIRA)" <ji...@apache.org> on 2008/10/06 02:33:44 UTC

[jira] Commented: (PIG-390) Union doesn't work

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

Kevin Weil commented on PIG-390:
--------------------------------

An update to this bug: it appears to be fixed in the types branch, using hadoop 0.18.1 and the stable-1 svn tag.

Kevin

> Union doesn't work
> ------------------
>
>                 Key: PIG-390
>                 URL: https://issues.apache.org/jira/browse/PIG-390
>             Project: Pig
>          Issue Type: Bug
>         Environment: Mac OS X
>            Reporter: Arthur Zwiegincew
>
> data files:
> $ cat ~/tmp/data
> 1	1
> 2	1
> 3	10
> $ cat ~/tmp/data-2
> 4	20
> 5	20
> pig script:
> data = load '/Users/arthur/tmp/data' as (x, y);
> data2 = load '/Users/arthur/tmp/data-2' as (x, y);
> both = union data, data2;
> dump both;
> result:
> (4, 20)
> (5, 20)

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