Pig
  1. Pig
  2. PIG-1627

Flattening of bags with unknown schemas produces wrong schema

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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}
      

        Issue Links

          Activity

          Alan Gates created issue -
          Alan Gates made changes -
          Field Original Value New Value
          Assignee Alan Gates [ alangates ] Daniel Dai [ daijy ]
          Daniel Dai made changes -
          Link This issue is blocked by PIG-1786 [ PIG-1786 ]
          Daniel Dai made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Olga Natkovich made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development