You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Thomas Graves (Jira)" <ji...@apache.org> on 2020/02/11 19:22:00 UTC

[jira] [Commented] (SPARK-28845) Enable spark.sql.execution.sortBeforeRepartition only for retried stages

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

Thomas Graves commented on SPARK-28845:
---------------------------------------

[~cloud_fan] [~XuanYuan] I wanted to followup on this with regards to  [https://github.com/apache/spark/pull/25491]

It looks like this got closed because its to difficult, but with SPARK-25341 - do we need the sort at all?   I didn't think we did and if we do I would like to understand. So then I assume it comes down to performance.

> Enable spark.sql.execution.sortBeforeRepartition only for retried stages
> ------------------------------------------------------------------------
>
>                 Key: SPARK-28845
>                 URL: https://issues.apache.org/jira/browse/SPARK-28845
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core, SQL
>    Affects Versions: 3.0.0
>            Reporter: Yuanjian Li
>            Priority: Major
>
> For fixing the correctness bug of SPARK-28699, we disable radix sort for the scenario of repartition in Spark SQL. This will cause a performance regression.
> So for limiting the performance overhead, we'll do the optimizing work by only enable sort for the repartition operation while stage retries happening. This work depends on SPARK-25341.



--
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