aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgatorsmile <gatorsmile@gmail.com>2016-10-17 12:08:25 +0800
committerWenchen Fan <wenchen@databricks.com>2016-10-17 12:08:25 +0800
commite18d02c5a8f8af2e42079ab414f5d84b3e1a279e (patch)
tree957945d74370cfcf6d8c001f8af51774df76ac57
parent59e3eb5af8d0969bbb785af77b66343bda7acc38 (diff)
downloadspark-e18d02c5a8f8af2e42079ab414f5d84b3e1a279e.tar.gz
spark-e18d02c5a8f8af2e42079ab414f5d84b3e1a279e.tar.bz2
spark-e18d02c5a8f8af2e42079ab414f5d84b3e1a279e.zip
[SPARK-17947][SQL] Add Doc and Comment about spark.sql.debug
### What changes were proposed in this pull request? Just document the impact of `spark.sql.debug`: When enabling the debug, Spark SQL internal table properties are not filtered out; however, some related DDL commands (e.g., Analyze Table and CREATE TABLE LIKE) might not work properly. ### How was this patch tested? N/A Author: gatorsmile <gatorsmile@gmail.com> Closes #15494 from gatorsmile/addDocForSQLDebug.
-rw-r--r--sql/core/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala3
1 files changed, 3 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 e73d0187b5..a055e0135c 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
@@ -934,8 +934,11 @@ object StaticSQLConf {
.intConf
.createWithDefault(4000)
+ // When enabling the debug, Spark SQL internal table properties are not filtered out; however,
+ // some related DDL commands (e.g., ANALYZE TABLE and CREATE TABLE LIKE) might not work properly.
val DEBUG_MODE = buildConf("spark.sql.debug")
.internal()
+ .doc("Only used for internal debugging. Not all functions are supported when it is enabled.")
.booleanConf
.createWithDefault(false)
}