This is an automated email from the ASF dual-hosted git repository.
fokko pushed a commit to branch parquet-1.14.x
in repository https://gitbox.apache.org/repos/asf/parquet-java.git
The following commit(s) were added to refs/heads/parquet-1.14.x by this push:
new 742ad879e MINOR: Throw exception in BytesInput (#3042)
742ad879e is described below
commit 742ad879e0d4c034b65e9f980ef2c0795f4d5b53
Author: Fokko Driesprong <[email protected]>
AuthorDate: Thu Nov 7 13:09:08 2024 +0100
MINOR: Throw exception in BytesInput (#3042)
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 25ec5dc86..0e6614074 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
@@ -389,7 +389,7 @@ public abstract class BytesInput {
}
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);
}
}