'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


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.

Reply via email to