JingsongLi commented on code in PR #6145:
URL: https://github.com/apache/paimon/pull/6145#discussion_r2299859345


##########
paimon-format/src/main/java/org/apache/paimon/format/text/HadoopCompressionUtils.java:
##########
@@ -71,34 +86,8 @@ public static InputStream createDecompressedInputStream(
                 return codec.createInputStream(inputStream);
             }
             return inputStream;
-        } catch (Exception e) {
-            throw new RuntimeException("Failed to create decompression 
stream", e);
-        }
-    }
-
-    /**
-     * Gets a compression codec by compression type.
-     *
-     * @param compression The compression type
-     * @return Optional CompressionCodec instance
-     */
-    public static Optional<CompressionCodec> 
getCompressionCodecByCompression(String compression) {

Review Comment:
   Why to modify this?



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