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)