Skip to content

Commit 4ab7ecb

Browse files
committed
Change the compression description
1 parent 0c0f55d commit 4ab7ecb

File tree

1 file changed

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

1 file changed

+6
-2
lines changed

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,9 @@ object SQLConf {
323323
.createWithDefault(false)
324324

325325
val PARQUET_COMPRESSION = buildConf("spark.sql.parquet.compression.codec")
326-
.doc("Sets the compression codec use when writing Parquet files. Acceptable values include: " +
326+
.doc("Sets the compression codec use when writing Parquet files. If other compression codec " +
327+
"configuration was found through hive or parquet, the precedence would be `compression`, " +
328+
"`parquet.compression`, `spark.sql.parquet.compression.codec`. Acceptable values include: " +
327329
"none, uncompressed, snappy, gzip, lzo.")
328330
.stringConf
329331
.transform(_.toLowerCase(Locale.ROOT))
@@ -364,7 +366,9 @@ object SQLConf {
364366
.createWithDefault(true)
365367

366368
val ORC_COMPRESSION = buildConf("spark.sql.orc.compression.codec")
367-
.doc("Sets the compression codec use when writing ORC files. Acceptable values include: " +
369+
.doc("Sets the compression codec use when writing ORC files. If other compression codec " +
370+
"configuration was found through hive or ORC, the precedence would be `compression`, " +
371+
"`orc.compress`, `spark.sql.orc.compression.codec`. Acceptable values include: " +
368372
"none, uncompressed, snappy, zlib, lzo.")
369373
.stringConf
370374
.transform(_.toLowerCase(Locale.ROOT))

0 commit comments

Comments
 (0)