You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "aiguofer (via GitHub)" <gi...@apache.org> on 2025/09/24 20:11:55 UTC

[I] Exception thrown while handling exception in CompositeJdbcConsumer [arrow-java]

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: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Exception thrown while handling exception in CompositeJdbcConsumer [arrow-java]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm closed issue #858: Exception thrown while handling exception in CompositeJdbcConsumer
URL: https://github.com/apache/arrow-java/issues/858


-- 
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: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org