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

Flattening of bags with unknown schemas produces wrong schema

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7.0
    • Fix Version/s: 0.9.0
    • Component/s: impl
    • Labels:
      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

              • Assignee:
                daijy Daniel Dai
                Reporter:
                alangates Alan Gates
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: