You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/07/21 03:21:00 UTC

[jira] [Updated] (SPARK-52486) AQE Planning caused Spark Driver OOM before Execution

     [ https://issues.apache.org/jira/browse/SPARK-52486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated SPARK-52486:
-----------------------------------
    Labels: pull-request-available  (was: )

> AQE Planning caused Spark Driver OOM before Execution
> -----------------------------------------------------
>
>                 Key: SPARK-52486
>                 URL: https://issues.apache.org/jira/browse/SPARK-52486
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.5.3
>            Reporter: zhixingheyi-tian
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: image-2025-06-18-15-23-39-175.png, reproducing_sqlcase
>
>
> During the join operations of a dozen partitioned fact tables in Spark-SQL, 8w+ subqueries were generated, ultimately causing a Driver OOM (Out-Of-Memory) error.
>  
> for example
> {code:java}
> Subquery:88573 Hosting operator id = 94 Hosting Expression = ds#22 IN dynamicpruning#76
> AdaptiveSparkPlan (76)
> +- Project (75)
>    +- Filter (74)
>       +- Scan parquet spark_catalog.dlctest.table_1 (73) {code}
>  
>  
> The attachment "reproducing_sqlcase" can trigger substantial memory consumption:
>  
> !image-2025-06-18-15-23-39-175.png|width=611,height=109!



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org