Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-3446 Umbrella jira for Pig on Tez
  3. PIG-3562

Implement combiner optimizations for DISTINCT

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • tez-branch
    • tez-branch
    • tez
    • None

    Description

      Currently, DISTINCT is implemented in a straightforward manner per https://issues.apache.org/jira/browse/PIG-3538.

      However, we can implement two types of combiner optimizations for DISTINCT, just as the MRCompiler does for map-reduce:
      1. A simple DistinctCombiner that throws away the duplicate tuples
      2. An optimizer that transforms certain uses of DISTINCT into an algebraic udf form

      Attachments

        1. PIG-3562-0.patch
          11 kB
          Alex Bain

        Activity

          People

            abain Alex Bain
            abain Alex Bain
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: