hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ning Zhang (JIRA)" <>
Subject [jira] Updated: (HIVE-1815) The class HiveResultSet should implement batch fetching.
Date Fri, 18 Mar 2011 04:18:29 GMT


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:
>             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:

View raw message