linliu-code commented on code in PR #12866:
URL: https://github.com/apache/hudi/pull/12866#discussion_r2104721534


##########
hudi-hadoop-common/src/main/java/org/apache/hudi/common/util/HFileUtils.java:
##########
@@ -75,12 +72,12 @@ public class HFileUtils extends FileFormatUtils {
    * @param paramsMap parameter map containing the compression codec config.
    * @return the {@link Compression.Algorithm} Enum.
    */
-  public static Compression.Algorithm getHFileCompressionAlgorithm(Map<String, 
String> paramsMap) {
-    String algoName = paramsMap.get(HFILE_COMPRESSION_ALGORITHM_NAME.key());
-    if (StringUtils.isNullOrEmpty(algoName)) {
-      return Compression.Algorithm.GZ;
+  public static CompressionCodec getHFileCompressionAlgorithm(Map<String, 
String> paramsMap) {

Review Comment:
   Ok.



-- 
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]

Reply via email to