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

Custom Partitioner not working with MultiQueryOptimizer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.12.0, 0.11.2
    • impl
    • None
    • Reviewed

    Description

      When looking at PIG-3385, noticed some issues in handling of custom partitioner with multi-query optimization.

      C1 = group B1 by col1 PARTITION BY
             org.apache.pig.test.utils.SimpleCustomPartitioner parallel 2;
      C2 = group B2 by col1 PARTITION BY
             org.apache.pig.test.utils.SimpleCustomPartitioner parallel 2;
      

      This seems to be merged to one mapreduce job correctly but custom partitioner information was lost.

      C1 = group B1 by col1 PARTITION BY org.apache.pig.test.utils.SimpleCustomPartitioner parallel 2;
      C2 = group B2 by col1 parallel 2;
      

      This seems to be merged even though they should run on two different partitioner.

      Attachments

        1. pig-3435-v01.patch
          1 kB
          Koji Noguchi
        2. pig-3435-v02_skipcustompatitioner_for_merge.patch
          4 kB
          Koji Noguchi

        Activity

          People

            knoguchi Koji Noguchi
            knoguchi Koji Noguchi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: