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

2012-07-24 Thread Namit Jain (JIRA)

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

Namit Jain updated HIVE-1450:
-

Status: Open  (was: Patch Available)

Comments on phabricator

 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




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

2012-07-23 Thread Carl Steinbach (JIRA)

 [ 
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




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

2012-07-22 Thread Carl Steinbach (JIRA)

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

Carl Steinbach updated HIVE-1450:
-

Status: Patch Available  (was: Open)

 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