Pig
  1. Pig
  2. PIG-1695

MergeForEach does not carry user defined schema if any one of the merged ForEach has user defined schema

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.0
    • Component/s: impl
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The following script missing the column name i after merge.

      a = load 'num.txt' as (i);
      b = foreach a generate (int)i;
      c = foreach b generate i + 60 as i;
      store c into 'sectest';
      

        Activity

        Olga Natkovich made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Daniel Dai made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Resolution Fixed [ 1 ]
        Daniel Dai made changes -
        Field Original Value New Value
        Attachment PIG-1695-1.patch [ 12457882 ]
        Daniel Dai created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development