Return-Path: Delivered-To: apmail-hive-dev-archive@www.apache.org Received: (qmail 34478 invoked from network); 18 Mar 2011 04:18:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Mar 2011 04:18:53 -0000 Received: (qmail 61926 invoked by uid 500); 18 Mar 2011 04:18:53 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 61821 invoked by uid 500); 18 Mar 2011 04:18:53 -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 61813 invoked by uid 500); 18 Mar 2011 04:18:52 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 61809 invoked by uid 99); 18 Mar 2011 04:18:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Mar 2011 04:18:52 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Mar 2011 04:18:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 94B813AFC50 for ; Fri, 18 Mar 2011 04:18:29 +0000 (UTC) Date: Fri, 18 Mar 2011 04:18:29 +0000 (UTC) From: "Ning Zhang (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <327538606.10982.1300421909606.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <33275328.36031291153691711.JavaMail.jira@thor> Subject: [jira] Updated: (HIVE-1815) The class HiveResultSet should implement batch fetching. 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-1815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ning Zhang updated HIVE-1815: ----------------------------- Resolution: Fixed Hadoop Flags: [Reviewed] Status: Resolved (was: Patch Available) Committed. Thanks Bennie! > The class HiveResultSet should implement batch fetching. > -------------------------------------------------------- > > Key: HIVE-1815 > URL: https://issues.apache.org/jira/browse/HIVE-1815 > Project: Hive > Issue Type: Improvement > Components: JDBC > Affects Versions: 0.8.0 > Environment: Custom Java application using the Hive JDBC driver to connect to a Hive server, execute a Hive query and process the results. > Reporter: Guy le Mar > Assignee: Bennie Schut > Fix For: 0.8.0 > > Attachments: HIVE-1815.1.patch.txt, HIVE-1815.2.patch.txt > > > When using the Hive JDBC driver, you can execute a Hive query and obtain a HiveResultSet instance that contains the results of the query. > Unfortunately, HiveResultSet can then only fetch a single row of these results from the Hive server at a time. As a consequence, it's extremely slow to fetch a resultset of anything other than a trivial size. > It would be nice for the HiveResultSet to be able to fetch N rows from the server at a time, so that performance is suitable to support applications that provide human interaction. > (From memory, I think it took me around 20 minutes to fetch 4000 rows.) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira