Igor Yagolnitser created PIG-5350:
-------------------------------------

             Summary: Union of two sets with the same schema ends up with uid 
set to -1
                 Key: PIG-5350
                 URL: https://issues.apache.org/jira/browse/PIG-5350
             Project: Pig
          Issue Type: Bug
         Environment: Pig 15
            Reporter: Igor Yagolnitser


LOAD a ...

LOAD b ...

c = UNION a, b;

d = FOREACH c {

  e = FILTER d ...
  GENERATE filed1, field2, FLATTEN(e.field3);
}

I get an error: ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2271: Logical 
plan invalid state: invalid uid -1 in schema : 
field_foo#-1:tuple(field_bar#-1:double,...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to