Github user gatorsmile commented on a diff in the pull request: https://github.com/apache/spark/pull/19218#discussion_r154509638 --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/SaveAsHiveFile.scala --- @@ -68,6 +68,30 @@ private[hive] trait SaveAsHiveFile extends DataWritingCommand { .get("mapreduce.output.fileoutputformat.compress.type")) } + fileSinkConf.tableInfo.getOutputFileFormatClassName match { + case formatName if formatName.toLowerCase.endsWith("parquetoutputformat") => + val compressionConf = "parquet.compression" --- End diff -- ` "parquet.compression"` -> `ParquetOutputFormat.COMPRESSION`
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org