This is an automated email from the ASF dual-hosted git repository. fokko pushed a commit to branch fd-throw in repository https://gitbox.apache.org/repos/asf/parquet-java.git
commit 4b9c4ded82dbed2284040198d9fa7b09b0b507dc Author: Fokko Driesprong <[email protected]> AuthorDate: Mon Nov 4 09:20:35 2024 +0100 MINOR: Throw exception in BytesInput Noticed this while reviewing https://github.com/apache/parquet-java/issues/3040 --- parquet-common/src/main/java/org/apache/parquet/bytes/BytesInput.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parquet-common/src/main/java/org/apache/parquet/bytes/BytesInput.java b/parquet-common/src/main/java/org/apache/parquet/bytes/BytesInput.java index 88bb1da7c..0cb89ea7a 100644 --- a/parquet-common/src/main/java/org/apache/parquet/bytes/BytesInput.java +++ b/parquet-common/src/main/java/org/apache/parquet/bytes/BytesInput.java @@ -379,7 +379,7 @@ public abstract class BytesInput { Channels.newChannel(in).read(workBuf); buffer.position(pos + byteCount); } catch (IOException e) { - new RuntimeException("Exception occurred during reading input stream", e); + throw new RuntimeException("Exception occurred during reading input stream", e); } }
