diff options
author | gatorsmile <gatorsmile@gmail.com> | 2016-10-17 12:08:25 +0800 |
---|---|---|
committer | Wenchen Fan <wenchen@databricks.com> | 2016-10-17 12:08:25 +0800 |
commit | e18d02c5a8f8af2e42079ab414f5d84b3e1a279e (patch) | |
tree | 957945d74370cfcf6d8c001f8af51774df76ac57 | |
parent | 59e3eb5af8d0969bbb785af77b66343bda7acc38 (diff) | |
download | spark-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.scala | 3 |
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) } |