You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Hive QA (JIRA)" <ji...@apache.org> on 2017/01/31 17:19:52 UTC

[jira] (HIVE-15730) JDBC should use SQLFeatureNotSupportedException where appropriate instead of SQLException

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

Hive QA commented on HIVE-15730:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12850170/HIVE_15730_1.patch

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 5 failed/errored test(s), 11009 tests executed
*Failed tests:*
{noformat}
TestDerbyConnector - did not produce a TEST-*.xml file (likely timed out) (batchId=235)
TestOperationLoggingAPIWithTez - did not produce a TEST-*.xml file (likely timed out) (batchId=212)
org.apache.hadoop.hive.cli.TestEncryptedHDFSCliDriver.testCliDriver[encryption_join_with_different_encryption_keys] (batchId=159)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_char_simple] (batchId=147)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_varchar_simple] (batchId=153)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/3284/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/3284/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-3284/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 5 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12850170 - PreCommit-HIVE-Build

> 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
>         Attachments: HIVE_15730_1.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)