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)

Reply via email to