[
https://issues.apache.org/jira/browse/CALCITE-2199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Hyde resolved CALCITE-2199.
----------------------------------
Resolution: Fixed
Fix Version/s: avatica-1.11.0
Fixed in
[6986bbd1|http://git-wip-us.apache.org/repos/asf/calcite-avatica/commit/6986bbd1];
thanks for the PR, [~bcogrel]!
> AvaticaResultSet.getStatement() signature is missing SQLException
> -----------------------------------------------------------------
>
> Key: CALCITE-2199
> URL: https://issues.apache.org/jira/browse/CALCITE-2199
> Project: Calcite
> Issue Type: Improvement
> Components: avatica
> Reporter: Benjamin Cogrel
> Priority: Trivial
> Fix For: avatica-1.11.0
>
>
> Extensions of the AvaticaResultSet cannot throw a SQLException from the
> getStatement() method because this checked exception is not part of its
> signature.
> This forced the Dremio developers to wrapped their SQLException into a
> runtime exception:
> https://github.com/dremio/dremio-oss/blob/master/client/jdbc/src/main/java/com/dremio/jdbc/impl/DremioResultSetImpl.java#L1153
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)