hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "N Campbell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-3176) implement returning values for SQLException getSQLState()
Date Tue, 07 May 2013 12:39:15 GMT

    [ https://issues.apache.org/jira/browse/HIVE-3176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13650764#comment-13650764
] 

N Campbell commented on HIVE-3176:
----------------------------------

I'd expect the Hive driver to align to the JDBC 3.x or 4.x API specification with respect
to exception handling re transient and non-transient exceptions and the associated SQL state
codes

http://docs.oracle.com/javase/7/docs/api/java/sql/package-summary.html
                
> implement returning values for SQLException getSQLState()
> ---------------------------------------------------------
>
>                 Key: HIVE-3176
>                 URL: https://issues.apache.org/jira/browse/HIVE-3176
>             Project: Hive
>          Issue Type: Improvement
>          Components: JDBC
>    Affects Versions: 0.8.1
>            Reporter: N Campbell
>              Labels: newbie, patch
>         Attachments: HIVE-3176.patch.txt
>
>
> a dynamic SQL application should be able to check the values returned by getSQLState
on a SQLException object. Currently the Hive driver is not doing this (throws exceptions etc).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message