Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7530D4060 for ; Mon, 6 Jun 2011 21:31:23 +0000 (UTC) Received: (qmail 39011 invoked by uid 500); 6 Jun 2011 21:31:23 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 38980 invoked by uid 500); 6 Jun 2011 21:31:23 -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 38969 invoked by uid 500); 6 Jun 2011 21:31:23 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 38966 invoked by uid 99); 6 Jun 2011 21:31:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jun 2011 21:31:23 +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; Mon, 06 Jun 2011 21:31:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 20DE9104A22 for ; Mon, 6 Jun 2011 21:30:59 +0000 (UTC) Date: Mon, 6 Jun 2011 21:30:59 +0000 (UTC) From: "jiraposter@reviews.apache.org (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1595549035.2014.1307395859131.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <34064855.49697.1306526207401.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HIVE-2188) Add multi_get_table function in Hive Metastore MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HIVE-2188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045128#comment-13045128 ] jiraposter@reviews.apache.org commented on HIVE-2188: ----------------------------------------------------- bq. On 2011-06-03 14:04:02, Ashutosh Chauhan wrote: bq. > trunk/metastore/if/hive_metastore.thrift, line 249 bq. > bq. > bq. > How about calling it get_multi_table instead? multi_get_table sounds little confusing to me. bq. bq. Sohan Jain wrote: bq. Ok, get_multi_table definitely sounds better. "get_tables" is probably the ideal name, but unfortunately that's already taken by a function that should really be called "get_table_names_by_pattern". In order to avoid this problem going forward, what do you think of changing the name to "get_table_objects"? - Carl ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/831/#review753 ----------------------------------------------------------- On 2011-06-06 21:09:54, Sohan Jain wrote: bq. bq. ----------------------------------------------------------- bq. This is an automatically generated e-mail. To reply, visit: bq. https://reviews.apache.org/r/831/ bq. ----------------------------------------------------------- bq. bq. (Updated 2011-06-06 21:09:54) bq. bq. bq. Review request for hive, Paul Yang and Ashutosh Chauhan. bq. bq. bq. Summary bq. ------- bq. bq. Created a function "multi_get_table" that retrieves multiple tables on one trip to the hive metastore, saving round trip time. bq. bq. bq. This addresses bug HIVE-2188. bq. https://issues.apache.org/jira/browse/HIVE-2188 bq. bq. bq. Diffs bq. ----- bq. bq. trunk/metastore/if/hive_metastore.thrift 1130342 bq. trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java 1130342 bq. trunk/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java 1130342 bq. trunk/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java 1130342 bq. trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestHiveMetaStore.java 1130342 bq. bq. Diff: https://reviews.apache.org/r/831/diff bq. bq. bq. Testing bq. ------- bq. bq. Added a test case to testMetasore() in TestHiveServer. Also tested for speed improvements in a client session. bq. bq. bq. Thanks, bq. bq. Sohan bq. bq. > 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