hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vaibhav Gumashta (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-15730) JDBC should use SQLFeatureNotSupportedException where appropriate instead of SQLException
Date Thu, 09 Feb 2017 22:50:41 GMT

     [ https://issues.apache.org/jira/browse/HIVE-15730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vaibhav Gumashta updated HIVE-15730:
------------------------------------
          Resolution: Fixed
        Hadoop Flags: Reviewed
       Fix Version/s: 2.2.0
    Target Version/s: 2.2.0
              Status: Resolved  (was: Patch Available)

Committed to master. Thanks a lot [~sankarh].

> JDBC should use SQLFeatureNotSupportedException where appropriate instead of  SQLException
> ------------------------------------------------------------------------------------------
>
>                 Key: HIVE-15730
>                 URL: https://issues.apache.org/jira/browse/HIVE-15730
>             Project: Hive
>          Issue Type: Bug
>          Components: JDBC
>            Reporter: Thejas M Nair
>            Assignee: Sankar Hariappan
>             Fix For: 2.2.0
>
>         Attachments: HIVE-15730.01.patch
>
>
> An example is HiveBaseResultSet.rowDeleted. It throws SQLException("Method not supported")
instead of SQLFeatureNotSupportedException.
> For that optional method, the use of SQLFeatureNotSupportedException is more appropriate.
> See 
> http://docs.oracle.com/javase/7/docs/api/java/sql/ResultSet.html#rowDeleted()
> http://docs.oracle.com/javase/7/docs/api/java/sql/SQLFeatureNotSupportedException.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message