Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-2554

CountDistinct and SumDistinct should do partial aggregation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0.1, 1.0.2
    • 1.3.0
    • SQL
    • None

    Description

      CountDistinct and SumDistinct should first do a partial aggregation and return unique value sets in each partition as partial results. Shuffle IO can be greatly reduced in in cases that there are only a few unique values.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lian cheng Cheng Lian
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: