apache / apache/arrow-java

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

Open
#734 4 comments 0 reactions 1 assignee Claimed by @Odin-BN View on GitHub
help wanted Type: bug
Dominant language
Java
Stars
94
Forks
152
Avg merge
3d 16h
Merged PRs (30d)
11

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.