Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-1210

fieldsToRead send the same fields more than once in some cases

    XMLWordPrintableJSON

Details

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

      Attachments

        1. PIG-1210-2.patch
          4 kB
          Daniel Dai
        2. PIG-1210-1.patch
          0.8 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: