aiguofer opened a new issue, #858:
URL: https://github.com/apache/arrow-java/issues/858
### Describe the bug, including details regarding any error messages,
version, and platform.
Some MinorTypes don't have a corresponding ArrowType, which cause the
existing error handling logic to throw a new exception here:
```
ArrowType arrowType = consumer.vector.getMinorType().getType();
throw new JdbcConsumerException(
"Exception while consuming JDBC value", e, fieldInfo,
arrowType);
```
Here's an example of the stacktrace:
```
Caused by: java.lang.UnsupportedOperationException: Cannot get simple type
for type DECIMAL
at org.apache.arrow.vector.types.Types$MinorType.getType(Types.java:815)
at
org.apache.arrow.adapter.jdbc.consumer.CompositeJdbcConsumer.consume(CompositeJdbcConsumer.java:49)
```
--
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]