Repository: spark
Updated Branches:
  refs/heads/master 40eeef952 -> de99c3d08


[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 <[email protected]>

Closes #13681 from hvanhovell/SPARK-15960.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/de99c3d0
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/de99c3d0
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/de99c3d0

Branch: refs/heads/master
Commit: de99c3d0813de8e8f83374a0a85a73f7386fdfb8
Parents: 40eeef9
Author: Herman van Hovell <[email protected]>
Authored: Wed Jun 15 09:43:11 2016 -0700
Committer: Reynold Xin <[email protected]>
Committed: Wed Jun 15 09:43:11 2016 -0700

----------------------------------------------------------------------
 .../src/main/scala/org/apache/spark/sql/internal/SQLConf.scala     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/de99c3d0/sql/core/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
----------------------------------------------------------------------
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 27b1fff..6978b50 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


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

Reply via email to