[ https://issues.apache.org/jira/browse/PIG-5350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16581121#comment-16581121 ]
Koji Noguchi commented on PIG-5350: ----------------------------------- [~Izya_aka_MOHCTP], if at all possible, can you try coming up with a complete script that you can share with us? Also, appreciate if you could try on trunk or on pig-0.17. (and sorry for my late update) > 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 > Priority: Major > > 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)