You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Alexey Diomin (JIRA)" <ji...@apache.org> on 2010/07/06 15:11:50 UTC

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

always catch exception when invoke executeUpdate in jdbc
--------------------------------------------------------

                 Key: HIVE-1450
                 URL: https://issues.apache.org/jira/browse/HIVE-1450
             Project: Hadoop Hive
          Issue Type: Bug
          Components: Drivers
            Reporter: Alexey Diomin
             Fix For: 0.5.1


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.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-1450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Fix Version/s:     (was: 0.5.1)

> always catch exception when invoke executeUpdate in jdbc
> --------------------------------------------------------
>
>                 Key: HIVE-1450
>                 URL: https://issues.apache.org/jira/browse/HIVE-1450
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Drivers
>            Reporter: Alexey Diomin
>
> 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.
-
You can reply to this email to add a comment to the issue online.