Pig
  1. Pig
  2. PIG-1210

fieldsToRead send the same fields more than once in some cases

    Details

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

      Description

      This bug will happen if the following condition meet:
      1. LoadFunc is susceptible to duplicated fields in fieldsToRead. The only LoadFunc we notice now is Zebra.
      2. The first item in FOREACH statement contains reference to the same input more than once.

      For example, the following script will be affected:
      a = load '11' using org.apache.hadoop.zebra.pig.TableLoader('a0');
      b = foreach a generate a0+a0;

      1. PIG-1210-1.patch
        0.8 kB
        Daniel Dai
      2. PIG-1210-2.patch
        4 kB
        Daniel Dai

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development