@@ -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