calcite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Cogrel (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CALCITE-2199) AvaticaResultSet.getStatement() signature is missing SQLException
Date Fri, 02 Mar 2018 16:16:00 GMT
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)

Mime
View raw message