From 2ab2d293a0548b66070e840372e589eb2949a0ff Mon Sep 17 00:00:00 2001 From: fjh100456 Date: Mon, 25 Dec 2017 23:22:01 +0800 Subject: [PATCH] Update test Fix tesr error --- .../scala/org/apache/spark/sql/hive/CompressionCodecSuite.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/hive/src/test/scala/org/apache/spark/sql/hive/CompressionCodecSuite.scala b/sql/hive/src/test/scala/org/apache/spark/sql/hive/CompressionCodecSuite.scala index c7eb4719814f4..5aaed99576f24 100644 --- a/sql/hive/src/test/scala/org/apache/spark/sql/hive/CompressionCodecSuite.scala +++ b/sql/hive/src/test/scala/org/apache/spark/sql/hive/CompressionCodecSuite.scala @@ -26,7 +26,7 @@ import org.apache.spark.sql.test.SQLTestUtils class CompressionCodecSuite extends TestHiveSingleton with SQLTestUtils { test("Test `spark.sql.parquet.compression.codec` config") { - Seq("NONE", "UNCOMPRESSED", "SNAPPY", "ZLIB", "LZO").foreach { c => + Seq("NONE", "UNCOMPRESSED", "SNAPPY", "GZIP", "LZO").foreach { c => withSQLConf(SQLConf.PARQUET_COMPRESSION.key -> c) { val expected = if (c == "NONE") "UNCOMPRESSED" else c val option = new ParquetOptions(Map.empty[String, String], spark.sessionState.conf)