hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pradeep Kamath (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-690) UNION doesn't work in the latest code
Date Tue, 03 Mar 2009 02:32:56 GMT

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

Pradeep Kamath updated PIG-690:
-------------------------------

    Attachment: PIG-690.patch

> UNION doesn't work in the latest code
> -------------------------------------
>
>                 Key: PIG-690
>                 URL: https://issues.apache.org/jira/browse/PIG-690
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: types_branch
>         Environment: mapred mode. local mode.has the same problem under linux.
> code is taken from trunk
>            Reporter: Amir Youssefi
>            Assignee: Pradeep Kamath
>             Fix For: types_branch
>
>         Attachments: PIG-690.patch
>
>
> grunt> a = load 'tmp/f1' using BinStorage();
> grunt> b = load 'tmp/f2' using BinStorage();
> grunt> describe a;
> a: {int,chararray,int,{(int,chararray,chararray)}}
> grunt> describe b;
> b: {int,chararray,int,{(int,chararray,chararray)}}
> grunt> c = union a,b;
> grunt> describe c;
> 2009-02-27 11:51:46,012 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1052: Cannot
cast bag with schema bag({(int,chararray,chararray)}) to tuple with schema tuple
> Details at logfile: /homes/amiry/pig_1235735380348.log
> dump a and dump b work fine.
> Sample data provided to dev team in an e-mail.

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


Mime
View raw message