hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Capriolo (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HIVE-1815) The class HiveResultSet should implement batch fetching.
Date Fri, 24 Dec 2010 23:00:54 GMT

     [ https://issues.apache.org/jira/browse/HIVE-1815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Edward Capriolo resolved HIVE-1815.
-----------------------------------

       Resolution: Won't Fix
    Fix Version/s: 0.6.0

This is implemented

 vi service/if/hive_service.thrift 
  # Fetch a given number of rows or remaining number of
  # rows whichever is smaller.
  list<string> fetchN(1:i32 numRows) throws(1:HiveServerException ex)

Please be sure when filing jira issues to be using trunk or the most recent release. Also
I am fairly sure fetchn was a part of the hive server since the get go.

> 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: Drivers
>    Affects Versions: 0.5.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
>             Fix For: 0.6.0
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message