aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerman van Hovell <hvanhovell@databricks.com>2016-06-15 09:43:11 -0700
committerReynold Xin <rxin@databricks.com>2016-06-15 09:43:11 -0700
commitde99c3d0813de8e8f83374a0a85a73f7386fdfb8 (patch)
treef9a63b2e16a100c6adff19cd350384559b42ff27
parent40eeef95256b0740d759d921f0385023f0b91666 (diff)
downloadspark-de99c3d0813de8e8f83374a0a85a73f7386fdfb8.tar.gz
spark-de99c3d0813de8e8f83374a0a85a73f7386fdfb8.tar.bz2
spark-de99c3d0813de8e8f83374a0a85a73f7386fdfb8.zip
[SPARK-15960][SQL] Rename `spark.sql.enableFallBackToHdfsForStats` config
## What changes were proposed in this pull request? Since we are probably going to add more statistics related configurations in the future, I'd like to rename the newly added `spark.sql.enableFallBackToHdfsForStats` configuration option to `spark.sql.statistics.fallBackToHdfs`. This allows us to put all statistics related configurations in the same namespace. ## How was this patch tested? None - just a usability thing Author: Herman van Hovell <hvanhovell@databricks.com> Closes #13681 from hvanhovell/SPARK-15960.
-rw-r--r--sql/core/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala b/sql/core/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
index 27b1fffe27..6978b506ac 100644
--- a/sql/core/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
+++ b/sql/core/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
@@ -114,7 +114,7 @@ object SQLConf {
.createWithDefault(10L * 1024 * 1024)
val ENABLE_FALL_BACK_TO_HDFS_FOR_STATS =
- SQLConfigBuilder("spark.sql.enableFallBackToHdfsForStats")
+ SQLConfigBuilder("spark.sql.statistics.fallBackToHdfs")
.doc("If the table statistics are not available from table metadata enable fall back to hdfs." +
" This is useful in determining if a table is small enough to use auto broadcast joins.")
.booleanConf