Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/21859#discussion_r211165654
--- 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")
+ .doc("When true, if the sampled data in range partitioning covers
the whole data, " +
+ "the sampled data will be cached for the next sort.")
+ .booleanConf
+ .createWithDefault(true)
--- End diff --
Do we expect users to tune it?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]