1fanwang commented on code in PR #5290:
URL: https://github.com/apache/calcite/pull/5290#discussion_r4162560711
##########
core/src/main/java/org/apache/calcite/jdbc/Driver.java:
##########
@@ -151,6 +151,8 @@ protected Function0<CalcitePrepare> createPrepareFactory() {
}
} catch (IOException e) {
throw new SQLException(e);
+ } catch (RuntimeException e) {
Review Comment:
Done in
https://github.com/apache/calcite/commit/34487a991008512f3b51fe4a6294bc9df61cedc2.
It now uses one multi-catch for both exception types.
--
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]