[ 
https://issues.apache.org/jira/browse/CALCITE-2199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16386753#comment-16386753
 ] 

ASF GitHub Bot commented on CALCITE-2199:
-----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/calcite-avatica/pull/25


> 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
>
> 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)

Reply via email to