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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8.0
    • 0.8.0
    • impl
    • None
    • 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

        1. PIG-1695-1.patch
          5 kB
          Daniel Dai

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: