apache/arrow-java

The real exception was swallowed by another exception in CompositeJdbcConsumer::consume

Open

#734 opened on Apr 28, 2025

 (4 comments) (0 reactions) (1 assignee)Java (132 forks)auto 404
Type: bughelp wanted

Repository metrics

Stars
 (89 stars)
PR merge metrics
 (PR metrics pending)

Description

Describe the bug, including details regarding any error messages, version, and platform.

In function CompositeJdbcConsumer::consume, consumer.vector.getMinorType().getType() may throw an exception if getType return null. For example, vector.getMinorType return DECIMAL type but DECIMAL doesn't have get type: DECIMAL((ArrowType)null) (in Types.java).

Contributor guide