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

Remove redundant aggregates in the Optimzier

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.2.0
    • SQL
    • None

    Description

      It is possible to have two or more consecutive aggregates whose sole purpose is to keep only distinct values (for example TPCDS q87). We can remove all but the last one do improve performance.

      Attachments

        Issue Links

          Activity

            People

              tanelk Tanel Kiis
              tanelk Tanel Kiis
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: