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

SecondaryKeyOptimizerTez does not optimize cogroup

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      In PIG-4683, daijy pointed out that SecondaryKeyOptimizerTez does not optimize cogroup.

      // Current code does not handle more than one predecessors
              // even though it is possible. The problem is when we
              // process the first predecessor, we remove the foreach inner
              // operators from the reduce side, and the second predecessor
              // cannot see them
              if (predecessors.size()>1) {
                  return;
              }
      

      It is a tricky case and we need to see how to fix it.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rohini Rohini Palaniswamy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: