You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Olga Natkovich (JIRA)" <ji...@apache.org> on 2009/01/26 22:59:59 UTC

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

     [ https://issues.apache.org/jira/browse/PIG-390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich resolved PIG-390.
--------------------------------

    Resolution: Fixed

Works in the latest trunk (merge from types branch)

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