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
- is blocked by
-
SPARK-33225 Extract AliasHelper trait
- Resolved
- relates to
-
SPARK-35765 Distinct aggs are not duplicate sensitive
- Resolved
- links to
(1 links to)