aboutsummaryrefslogtreecommitdiff
path: root/sql/core/src
diff options
context:
space:
mode:
authorReynold Xin <rxin@databricks.com>2016-04-16 11:39:47 -0700
committerYin Huai <yhuai@databricks.com>2016-04-16 11:39:47 -0700
commit7319fcc1cdb000fcde07ccd60748762c16c919a3 (patch)
tree43914f0386e58eb3107f7f9ad64a530f0af0bc83 /sql/core/src
parent36da5e323487aa851a45475109185b9b0653db75 (diff)
downloadspark-7319fcc1cdb000fcde07ccd60748762c16c919a3.tar.gz
spark-7319fcc1cdb000fcde07ccd60748762c16c919a3.tar.bz2
spark-7319fcc1cdb000fcde07ccd60748762c16c919a3.zip
[SPARK-14677][SQL] follow up: make max iter num config internal
## What changes were proposed in this pull request? This is a follow-up to make the max iteration number an internal config. ## How was this patch tested? N/A Author: Reynold Xin <rxin@databricks.com> Closes #12441 from rxin/maxIterConfInternal.
Diffstat (limited to 'sql/core/src')
-rw-r--r--sql/core/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala1
1 files changed, 1 insertions, 0 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 e58b7178e9..70e18cebdd 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
@@ -52,6 +52,7 @@ object SQLConf {
}
val OPTIMIZER_MAX_ITERATIONS = SQLConfigBuilder("spark.sql.optimizer.maxIterations")
+ .internal()
.doc("The max number of iterations the optimizer and analyzer runs")
.intConf
.createWithDefault(100)