You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2020/08/03 12:57:00 UTC

[jira] [Resolved] (SPARK-32083) Unnecessary tasks are launched when input is empty with AQE

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

Wenchen Fan resolved SPARK-32083.
---------------------------------
    Fix Version/s: 3.1.0
                   3.0.1
       Resolution: Fixed

Issue resolved by pull request 29321
[https://github.com/apache/spark/pull/29321]

> Unnecessary tasks are launched when input is empty with AQE
> -----------------------------------------------------------
>
>                 Key: SPARK-32083
>                 URL: https://issues.apache.org/jira/browse/SPARK-32083
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Manu Zhang
>            Priority: Minor
>             Fix For: 3.0.1, 3.1.0
>
>
> [https://github.com/apache/spark/pull/28226] meant to avoid launching unnecessary tasks for 0-size partitions when AQE is enabled. However, when all partitions are empty, the number of partitions will be `spark.sql.adaptive.coalescePartitions.initialPartitionNum` and (a lot of) unnecessary tasks are launched in this case.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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