We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94ac716 commit 43e041fCopy full SHA for 43e041f
sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/HiveOptions.scala
@@ -116,7 +116,7 @@ object HiveOptions {
116
val tableProps = tableInfo.getProperties.asScala.toMap
117
tableInfo.getOutputFileFormatClassName.toLowerCase match {
118
case formatName if formatName.endsWith("parquetoutputformat") =>
119
- val compressionCodec = new ParquetOptions(tableProps, sqlConf).compressionCodec
+ val compressionCodec = new ParquetOptions(tableProps, sqlConf).compressionCodecClassName
120
Option((ParquetOutputFormat.COMPRESSION, compressionCodec))
121
case formatName if formatName.endsWith("orcoutputformat") =>
122
val compressionCodec = new OrcOptions(tableProps, sqlConf).compressionCodec
0 commit comments