hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl Steinbach (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-1450) always catch exception when invoke executeUpdate in jdbc
Date Mon, 23 Jul 2012 07:03:34 GMT

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

Carl Steinbach updated HIVE-1450:
---------------------------------

    Attachment: HIVE-1450.D4293.1.patch
    
> 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
>         Attachments: HIVE-1450.D4293.1.patch
>
>
> 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

        

Mime
View raw message