hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hashut...@apache.org
Subject hive git commit: HIVE-13614 : Implementation for PreparedStatement#setBigDecimal (Iwao AVE! via Ashutosh Chauhan)
Date Mon, 11 Jul 2016 05:38:29 GMT
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 <hashutosh@apache.org>


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! <harawata@gmail.com>
Authored: Tue Apr 26 07:16:00 2016 -0800
Committer: Ashutosh Chauhan <hashutosh@apache.org>
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());
   }
 
   /*


Mime
View raw message