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

Flattening of bags with unknown schemas produces wrong schema

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.7.0
    • 0.9.0
    • impl
    • None

    Description

      The following should produce an unknown schema:

      A = load '/Users/gates/test/data/studenttab10';
      B = group A by $0;
      C = foreach B generate flatten(A);
      describe C;
      

      Instead it gives

      C: {bytearray}
      

      Attachments

        Issue Links

          Activity

            People

              daijy Daniel Dai
              gates Alan Gates
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: