[ 
https://issues.apache.org/jira/browse/SPARK-44571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18037843#comment-18037843
 ] 

Dongjoon Hyun commented on SPARK-44571:
---------------------------------------

For the record, I collected this as a subtask of Apache Spark 4.2.0 umbrella 
JIRA issue.

> Eliminate the Join by combine multiple Aggregates
> -------------------------------------------------
>
>                 Key: SPARK-44571
>                 URL: https://issues.apache.org/jira/browse/SPARK-44571
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 4.2.0
>            Reporter: Jiaan Geng
>            Priority: Major
>              Labels: pull-request-available
>
> Recently, I investigate the test case q28 which is belong to the TPC-DS 
> queries.
> The query contains multiple scalar subquery with aggregation and connected 
> with inner join.
> If we can merge the filters and aggregates, we can scan data source only once 
> and eliminate the join so as avoid shuffle. Obviously, this change will 
> improve the performance.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to