[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.
This commit is contained in:
parent
993f21567a
commit
9a7048b288
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue