yihua commented on code in PR #12866:
URL: https://github.com/apache/hudi/pull/12866#discussion_r2106127659
##########
hudi-io/src/main/java/org/apache/hudi/io/compress/CompressionCodec.java:
##########
@@ -19,26 +19,61 @@
package org.apache.hudi.io.compress;
+import org.apache.hudi.common.util.ValidationUtils;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.Map;
+import java.util.function.Function;
+import java.util.stream.Collectors;
+
/**
* Available compression codecs.
* There should not be any assumption on the ordering or ordinal of the
defined enums.
*/
public enum CompressionCodec {
- NONE("none"),
- BZIP2("bz2"),
- GZIP("gz"),
- LZ4("lz4"),
- LZO("lzo"),
- SNAPPY("snappy"),
- ZSTD("zstd");
+ NONE("none", 2),
Review Comment:
Fixed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]