[
https://issues.apache.org/jira/browse/CALCITE-1902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16103398#comment-16103398
]
Josh Elser commented on CALCITE-1902:
-------------------------------------
bq. Actually, I think I found the place to make the change:
Yup! That's the class to change. I'd be more than happy to review a change from
you!
It seems like there are some other methods in that class as well that we could
fix (UnsupportedOperationException to SQLFeatureNotSupportedException), such as
https://github.com/apache/calcite-avatica/blob/master/core/src/main/java/org/apache/calcite/avatica/AvaticaResultSet.java#L516-L518
Take a look at https://calcite.apache.org/avatica/develop/#contributing on how
we would like contributions. I'll go ahead and assign this issue to you so we
can make sure no one else accidentally does it.
> boolean java.sql.ResultSet.previous() throws SQLException should throw
> SQLException, but it is throwing UnsupportedOperationException
> -------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CALCITE-1902
> URL: https://issues.apache.org/jira/browse/CALCITE-1902
> Project: Calcite
> Issue Type: Bug
> Components: avatica
> Affects Versions: 1.10.0
> Reporter: Sergio Sainz
> Priority: Minor
> Fix For: avatica-1.11.0
>
>
> boolean java.sql.ResultSet.previous() throws SQLException should throw
> SQLException, but it is throwing UnsupportedOperationException instead.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)