Skip to content

Commit 9620e46

Browse files
committed
fix
1 parent 4c0300c commit 9620e46

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/orc/OrcOptions.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ private[orc] class OrcOptions(
4040
* Acceptable values are defined in [[shortOrcCompressionCodecNames]].
4141
*/
4242
val compressionCodec: String = {
43-
// `compression`, `orc.compress`, and `spark.sql.orc.compression.codec` is used in order.
43+
// `compression`, `orc.compress`, and `spark.sql.orc.compression.codec` are
44+
// in order of precedence from highest to lowest.
4445
val orcCompressionConf = parameters.get(OrcRelation.ORC_COMPRESSION)
4546
val codecName = parameters
4647
.get("compression")

0 commit comments

Comments
 (0)