From ce036ae54b9ee8cd779929092499a3ece3722947 Mon Sep 17 00:00:00 2001 From: gatorsmile Date: Fri, 14 Oct 2016 14:18:59 -0700 Subject: [PATCH 1/3] doc change. --- .../src/main/scala/org/apache/spark/sql/internal/SQLConf.scala | 3 +++ 1 file changed, 3 insertions(+) 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 192083e2ea5f5..8b1b773e8d82c 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 @@ -916,8 +916,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) } From 3334f12cd4f177006eec5933b445fe9fbd804f60 Mon Sep 17 00:00:00 2001 From: gatorsmile Date: Fri, 14 Oct 2016 14:40:53 -0700 Subject: [PATCH 2/3] style --- .../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 8b1b773e8d82c..2e4b303293c17 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 @@ -917,7 +917,7 @@ object StaticSQLConf { .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. + // 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.") From a020f66e8251206d37c9b4fd0f55931f1123529b Mon Sep 17 00:00:00 2001 From: gatorsmile Date: Fri, 14 Oct 2016 14:41:27 -0700 Subject: [PATCH 3/3] style --- .../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 2e4b303293c17..5c4c15878d19b 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 @@ -917,7 +917,7 @@ object StaticSQLConf { .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. + // 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.")