diff --git a/src/main/java/net/snowflake/ingest/utils/Constants.java b/src/main/java/net/snowflake/ingest/utils/Constants.java index 3fc99f147..a22bc9f21 100644 --- a/src/main/java/net/snowflake/ingest/utils/Constants.java +++ b/src/main/java/net/snowflake/ingest/utils/Constants.java @@ -119,15 +119,10 @@ public static BdecVersion fromInt(int val) { * CompressionCodecName, but we want to control and allow only specific values of that. */ public enum BdecParquetCompression { - UNCOMPRESSED, - GZIP, - SNAPPY, - ZSTD; + GZIP; public CompressionCodecName getCompressionCodec() { - return (this == UNCOMPRESSED - ? CompressionCodecName.fromConf(null) - : CompressionCodecName.fromConf(this.name())); + return CompressionCodecName.fromConf(this.name()); } public static BdecParquetCompression fromName(String name) {