Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E5EA0C258 for ; Mon, 23 Jul 2012 01:30:37 +0000 (UTC) Received: (qmail 52604 invoked by uid 500); 23 Jul 2012 01:30:35 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 52529 invoked by uid 500); 23 Jul 2012 01:30:35 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 52270 invoked by uid 500); 23 Jul 2012 01:30:35 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 52138 invoked by uid 99); 23 Jul 2012 01:30:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2012 01:30:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 0283C1427F2 for ; Mon, 23 Jul 2012 01:30:35 +0000 (UTC) Date: Mon, 23 Jul 2012 01:30:35 +0000 (UTC) From: "Carl Steinbach (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1961043208.89193.1343007035012.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (HIVE-1450) always catch exception when invoke executeUpdate in jdbc MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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