Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-5350

Union of two sets with the same schema ends up with uid set to -1

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Pig 15

      Description

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Izya_aka_MOHCTP Igor Yagolnitser
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: