You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "David Lavati (Jira)" <ji...@apache.org> on 2019/11/06 12:44:00 UTC
[jira] [Resolved] (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:all-tabpanel ]
David Lavati resolved HIVE-1450.
--------------------------------
Resolution: Won't Do
> 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
> Priority: Major
> 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 was sent by Atlassian Jira
(v8.3.4#803005)