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.

Reply via email to