You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Benjamin Cogrel (JIRA)" <ji...@apache.org> on 2018/03/02 16:16:00 UTC

[jira] [Created] (CALCITE-2199) AvaticaResultSet.getStatement() signature is missing SQLException

Benjamin Cogrel created CALCITE-2199:
----------------------------------------

             Summary: 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


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)