Skip to content

Commit f9e7b0c

Browse files
committed
[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 <[email protected]> Closes #20175 from gatorsmile/stylefix. (cherry picked from commit 9a7048b) Signed-off-by: gatorsmile <[email protected]>
1 parent b66700a commit f9e7b0c

File tree

1 file changed

+7
-6
lines changed
  • sql/catalyst/src/main/scala/org/apache/spark/sql/internal

1 file changed

+7
-6
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -325,10 +325,11 @@ object SQLConf {
325325
.createWithDefault(false)
326326

327327
val PARQUET_COMPRESSION = buildConf("spark.sql.parquet.compression.codec")
328-
.doc("Sets the compression codec used when writing Parquet files. If either `compression` or" +
329-
"`parquet.compression` is specified in the table-specific options/properties, the precedence" +
330-
"would be `compression`, `parquet.compression`, `spark.sql.parquet.compression.codec`." +
331-
"Acceptable values include: none, uncompressed, snappy, gzip, lzo.")
328+
.doc("Sets the compression codec used when writing Parquet files. If either `compression` or " +
329+
"`parquet.compression` is specified in the table-specific options/properties, the " +
330+
"precedence would be `compression`, `parquet.compression`, " +
331+
"`spark.sql.parquet.compression.codec`. Acceptable values include: none, uncompressed, " +
332+
"snappy, gzip, lzo.")
332333
.stringConf
333334
.transform(_.toLowerCase(Locale.ROOT))
334335
.checkValues(Set("none", "uncompressed", "snappy", "gzip", "lzo"))
@@ -368,8 +369,8 @@ object SQLConf {
368369
.createWithDefault(true)
369370

370371
val ORC_COMPRESSION = buildConf("spark.sql.orc.compression.codec")
371-
.doc("Sets the compression codec used when writing ORC files. If either `compression` or" +
372-
"`orc.compress` is specified in the table-specific options/properties, the precedence" +
372+
.doc("Sets the compression codec used when writing ORC files. If either `compression` or " +
373+
"`orc.compress` is specified in the table-specific options/properties, the precedence " +
373374
"would be `compression`, `orc.compress`, `spark.sql.orc.compression.codec`." +
374375
"Acceptable values include: none, uncompressed, snappy, zlib, lzo.")
375376
.stringConf

0 commit comments

Comments
 (0)