[ https://issues.apache.org/jira/browse/SPARK-33122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212661#comment-17212661 ]
Apache Spark commented on SPARK-33122: -------------------------------------- User 'tanelk' has created a pull request for this issue: https://github.com/apache/spark/pull/30018 > Remove redundant aggregates in the Optimzier > -------------------------------------------- > > Key: SPARK-33122 > URL: https://issues.apache.org/jira/browse/SPARK-33122 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 3.0.1 > Reporter: Tanel Kiis > Priority: Major > > 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. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org