Uploaded image for project: '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
    • Status: Closed
    • Priority: 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';
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: