[ 
https://issues.apache.org/jira/browse/HIVE-2188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045229#comment-13045229
 ] 

jirapos...@reviews.apache.org commented on HIVE-2188:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/831/
-----------------------------------------------------------

(Updated 2011-06-07 01:11:44.582629)


Review request for hive, Paul Yang and Ashutosh Chauhan.


Changes
-------

- included Carl's suggestions.
- get_table_objects_by_name retrieves only the tables that it can, and does not 
fail out if it cannot retrieve a table.  
- removed the ordering of tables returned, since there is no guarantee every 
requested table is returned
- modified unit tests


Summary
-------

Created a function "multi_get_table" that retrieves multiple tables on one trip 
to the hive metastore, saving round trip time.


This addresses bug HIVE-2188.
    https://issues.apache.org/jira/browse/HIVE-2188


Diffs (updated)
-----

  trunk/metastore/if/hive_metastore.thrift 1130342 
  trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java 
1130342 
  trunk/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java 
1130342 
  trunk/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java 
1130342 
  
trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestHiveMetaStore.java
 1130342 

Diff: https://reviews.apache.org/r/831/diff


Testing
-------

Added a test case to testMetasore() in TestHiveServer.  Also tested for speed 
improvements in a client session.


Thanks,

Sohan



> Add multi_get_table function in Hive Metastore
> ----------------------------------------------
>
>                 Key: HIVE-2188
>                 URL: https://issues.apache.org/jira/browse/HIVE-2188
>             Project: Hive
>          Issue Type: New Feature
>          Components: Metastore
>            Reporter: Sohan Jain
>            Assignee: Sohan Jain
>            Priority: Minor
>         Attachments: HIVE-2188.1.patch, HIVE-2188.3.patch
>
>
> This function would get multiple tables from the hive metastore as opposed to 
> just one at a time, saving round trip time to the metastore.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to