You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Carl Steinbach (JIRA)" <ji...@apache.org> on 2012/07/23 03:30:34 UTC

[jira] [Commented] (HIVE-1450) always catch exception when invoke executeUpdate in jdbc

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

Carl Steinbach commented on HIVE-1450:
--------------------------------------

Review request: https://reviews.facebook.net/D4293

                
> always catch exception when invoke executeUpdate in jdbc
> --------------------------------------------------------
>
>                 Key: HIVE-1450
>                 URL: https://issues.apache.org/jira/browse/HIVE-1450
>             Project: Hive
>          Issue Type: Bug
>          Components: JDBC
>            Reporter: Alexey Diomin
>            Assignee: Carl Steinbach
>
> Request executed in hive, but always return exception 
> error in ./jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveStatement.java
> {code}
>   public int executeUpdate(String sql) throws SQLException {
>     try {
>       client.execute(sql);
>     } catch (Exception ex) {
>       throw new SQLException(ex.toString());
>     }
>     throw new SQLException("Method not supported");
>   }
> {code}
> executeQuery work correct

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira