spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lix...@apache.org
Subject spark git commit: [HOTFIX] Fix style checking failure
Date Sat, 06 Jan 2018 16:19:37 GMT
Repository: spark
Updated Branches:
  refs/heads/master 993f21567 -> 9a7048b28


[HOTFIX] Fix style checking failure

## What changes were proposed in this pull request?
This PR is to fix the  style checking failure.

## How was this patch tested?
N/A

Author: gatorsmile <gatorsmile@gmail.com>

Closes #20175 from gatorsmile/stylefix.


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

Branch: refs/heads/master
Commit: 9a7048b2889bd0fd66e68a0ce3e07e466315a051
Parents: 993f215
Author: gatorsmile <gatorsmile@gmail.com>
Authored: Sun Jan 7 00:19:21 2018 +0800
Committer: gatorsmile <gatorsmile@gmail.com>
Committed: Sun Jan 7 00:19:21 2018 +0800

----------------------------------------------------------------------
 .../scala/org/apache/spark/sql/internal/SQLConf.scala  | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/9a7048b2/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
----------------------------------------------------------------------
diff --git a/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala b/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
index 7d1217d..5c61f10 100644
--- a/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
+++ b/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
@@ -325,10 +325,11 @@ object SQLConf {
     .createWithDefault(false)
 
   val PARQUET_COMPRESSION = buildConf("spark.sql.parquet.compression.codec")
-    .doc("Sets the compression codec used when writing Parquet files. If either `compression`
or" +
-      "`parquet.compression` is specified in the table-specific options/properties, the precedence"
+
-      "would be `compression`, `parquet.compression`, `spark.sql.parquet.compression.codec`."
+
-      "Acceptable values include: none, uncompressed, snappy, gzip, lzo.")
+    .doc("Sets the compression codec used when writing Parquet files. If either `compression`
or " +
+      "`parquet.compression` is specified in the table-specific options/properties, the "
+
+      "precedence would be `compression`, `parquet.compression`, " +
+      "`spark.sql.parquet.compression.codec`. Acceptable values include: none, uncompressed,
" +
+      "snappy, gzip, lzo.")
     .stringConf
     .transform(_.toLowerCase(Locale.ROOT))
     .checkValues(Set("none", "uncompressed", "snappy", "gzip", "lzo"))
@@ -368,8 +369,8 @@ object SQLConf {
       .createWithDefault(true)
 
   val ORC_COMPRESSION = buildConf("spark.sql.orc.compression.codec")
-    .doc("Sets the compression codec used when writing ORC files. If either `compression`
or" +
-      "`orc.compress` is specified in the table-specific options/properties, the precedence"
+
+    .doc("Sets the compression codec used when writing ORC files. If either `compression`
or " +
+      "`orc.compress` is specified in the table-specific options/properties, the precedence
" +
       "would be `compression`, `orc.compress`, `spark.sql.orc.compression.codec`." +
       "Acceptable values include: none, uncompressed, snappy, zlib, lzo.")
     .stringConf


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org


Mime
View raw message