vibhatha commented on code in PR #39356:
URL: https://github.com/apache/arrow/pull/39356#discussion_r1439013747
##########
java/adapter/jdbc/src/main/java/org/apache/arrow/adapter/jdbc/consumer/CompositeJdbcConsumer.java:
##########
@@ -43,7 +46,18 @@ public CompositeJdbcConsumer(JdbcConsumer[] consumers) {
@Override
public void consume(ResultSet rs) throws SQLException, IOException {
for (int i = 0; i < consumers.length; i++) {
- consumers[i].consume(rs);
+ try {
+ consumers[i].consume(rs);
Review Comment:
just curious what if `consume` method throws the defined exception rather
than catching and throwing it back?
--
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]