Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
Fix tesr error
  • Loading branch information
fjh100456 authored Dec 25, 2017
1 parent 10e5462 commit 2ab2d29
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2ab2d29

Please sign in to comment.