Github user sddyljsx commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21859#discussion_r211270748
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala ---
    @@ -1207,6 +1207,13 @@ object SQLConf {
           .intConf
           .createWithDefault(100)
     
    +  val RANGE_EXCHANGE_SAMPLE_CACHE_ENABLE =
    +    buildConf("spark.sql.execution.rangeExchange.sampleCache.enabled")
    --- End diff --
    
    Yes. The RangePartitioner is mainly used for sorting. Not only in Spark 
Sql, it is used in many other places. There is no need for config here. I 
removed the config, and the optimization will work by default.


---

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

Reply via email to