pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Ding (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-1609) 'union onschema' should give a more useful error message when schema of one of the relations has null column name
Date Tue, 14 Sep 2010 19:51:50 GMT

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

Richard Ding commented on PIG-1609:
-----------------------------------

+1

> 'union onschema' should give a more useful error message when schema of one of the relations
has null column name
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: PIG-1609
>                 URL: https://issues.apache.org/jira/browse/PIG-1609
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>             Fix For: 0.8.0
>
>         Attachments: PIG-1609.1.patch
>
>
> A better error message needs to be given in this case -
> {code}
> grunt> l = load '/tmp/empty.bag' as (i : int);
> grunt> f = foreach l generate i+1;
> grunt> describe f;
> f: {int}
> grunt> u = union onschema l , f;
> 2010-09-10 18:08:13,000 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1000: Error
during parsing. Error merging
> schemas for union operator
> Details at logfile: /Users/tejas/pig_nmr_syn/trunk/pig_1284167020897.log
> {code}

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