Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C4E79200B52 for ; Mon, 11 Jul 2016 07:38:31 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C34FA160A69; Mon, 11 Jul 2016 05:38:31 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1869C160A66 for ; Mon, 11 Jul 2016 07:38:30 +0200 (CEST) Received: (qmail 44388 invoked by uid 500); 11 Jul 2016 05:38:29 -0000 Mailing-List: contact commits-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hive.apache.org Delivered-To: mailing list commits@hive.apache.org Received: (qmail 44377 invoked by uid 99); 11 Jul 2016 05:38:29 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jul 2016 05:38:29 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 7E827E09C5; Mon, 11 Jul 2016 05:38:29 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: hashutosh@apache.org To: commits@hive.apache.org Message-Id: <46de6126efc74bc581f5bd2ce39b8629@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: hive git commit: HIVE-13614 : Implementation for PreparedStatement#setBigDecimal (Iwao AVE! via Ashutosh Chauhan) Date: Mon, 11 Jul 2016 05:38:29 +0000 (UTC) archived-at: Mon, 11 Jul 2016 05:38:32 -0000 Repository: hive Updated Branches: refs/heads/master db9afe48c -> a732a1dc3 HIVE-13614 : Implementation for PreparedStatement#setBigDecimal (Iwao AVE! via Ashutosh Chauhan) Signed-off-by: Ashutosh Chauhan Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/a732a1dc Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/a732a1dc Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/a732a1dc Branch: refs/heads/master Commit: a732a1dc3f2774f646d971798b18817cd2565623 Parents: db9afe4 Author: Iwao AVE! Authored: Tue Apr 26 07:16:00 2016 -0800 Committer: Ashutosh Chauhan Committed: Sun Jul 10 22:37:45 2016 -0700 ---------------------------------------------------------------------- jdbc/src/java/org/apache/hive/jdbc/HivePreparedStatement.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/a732a1dc/jdbc/src/java/org/apache/hive/jdbc/HivePreparedStatement.java ---------------------------------------------------------------------- diff --git a/jdbc/src/java/org/apache/hive/jdbc/HivePreparedStatement.java b/jdbc/src/java/org/apache/hive/jdbc/HivePreparedStatement.java index 69c1587..590a2ed 100644 --- a/jdbc/src/java/org/apache/hive/jdbc/HivePreparedStatement.java +++ b/jdbc/src/java/org/apache/hive/jdbc/HivePreparedStatement.java @@ -264,8 +264,7 @@ public class HivePreparedStatement extends HiveStatement implements PreparedStat */ public void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException { - // TODO Auto-generated method stub - throw new SQLException("Method not supported"); + this.parameters.put(parameterIndex, x.toString()); } /*