From de99c3d0813de8e8f83374a0a85a73f7386fdfb8 Mon Sep 17 00:00:00 2001 From: Herman van Hovell Date: Wed, 15 Jun 2016 09:43:11 -0700 Subject: [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 Closes #13681 from hvanhovell/SPARK-15960. --- sql/core/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3