hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgumas...@apache.org
Subject hive git commit: HIVE-11429: Increase default JDBC result set fetch size (# rows it fetches in one RPC call) to 1000 from 50 (Vaibhav Gumashta reviewed by Thejas Nair)
Date Tue, 18 Aug 2015 09:14:15 GMT
Repository: hive
Updated Branches:
  refs/heads/branch-1 63f753fea -> 95fdf09c4


HIVE-11429: Increase default JDBC result set fetch size (# rows it fetches in one RPC call)
to 1000 from 50 (Vaibhav Gumashta reviewed by Thejas Nair)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/95fdf09c
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/95fdf09c
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/95fdf09c

Branch: refs/heads/branch-1
Commit: 95fdf09c4ee36956c11ab58c3334304fcc32ca60
Parents: 63f753f
Author: Vaibhav Gumashta <vgumashta@apache.org>
Authored: Tue Aug 18 02:12:35 2015 -0700
Committer: Vaibhav Gumashta <vgumashta@apache.org>
Committed: Tue Aug 18 02:14:01 2015 -0700

----------------------------------------------------------------------
 jdbc/src/java/org/apache/hive/jdbc/HiveStatement.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/95fdf09c/jdbc/src/java/org/apache/hive/jdbc/HiveStatement.java
----------------------------------------------------------------------
diff --git a/jdbc/src/java/org/apache/hive/jdbc/HiveStatement.java b/jdbc/src/java/org/apache/hive/jdbc/HiveStatement.java
index 170fc53..d4041bb 100644
--- a/jdbc/src/java/org/apache/hive/jdbc/HiveStatement.java
+++ b/jdbc/src/java/org/apache/hive/jdbc/HiveStatement.java
@@ -59,7 +59,7 @@ public class HiveStatement implements java.sql.Statement {
   private TOperationHandle stmtHandle = null;
   private final TSessionHandle sessHandle;
   Map<String,String> sessConf = new HashMap<String,String>();
-  private int fetchSize = 50;
+  private int fetchSize = 1000;
   private boolean isScrollableResultset = false;
   /**
    * We need to keep a reference to the result set to support the following:


Mime
View raw message