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 158809DF4 for ; Mon, 13 Feb 2012 21:09:25 +0000 (UTC) Received: (qmail 42804 invoked by uid 500); 13 Feb 2012 21:09:24 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 42735 invoked by uid 500); 13 Feb 2012 21:09:24 -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 42706 invoked by uid 500); 13 Feb 2012 21:09:23 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 42703 invoked by uid 99); 13 Feb 2012 21:09:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2012 21:09: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, 13 Feb 2012 21:09: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 BCA681B44B1 for ; Mon, 13 Feb 2012 21:08:59 +0000 (UTC) Date: Mon, 13 Feb 2012 21:08:59 +0000 (UTC) From: "Kevin Wilfong (Commented) (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <904290512.33462.1329167339774.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <145246126.25719.1328904899512.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HIVE-2799) change the following thrift apis to add a region 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-2799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13207206#comment-13207206 ] Kevin Wilfong commented on HIVE-2799: ------------------------------------- Thanks, Carl, that sounds like a good idea. Unfortunately, Thrift doesn't support method overloading so I'll still have to create new methods with new names to provide backwards compatibility. This should make it easier to make changes like this in the future though. > change the following thrift apis to add a region > ------------------------------------------------ > > Key: HIVE-2799 > URL: https://issues.apache.org/jira/browse/HIVE-2799 > Project: Hive > Issue Type: New Feature > Components: Metastore, Thrift API > Reporter: Namit Jain > Assignee: Kevin Wilfong > > list get_tables(1: string db_name, 2: string pattern) throws (1: MetaException o1) > list get_all_tables(1: string db_name) throws (1: MetaException o1) > Table get_table(1:string dbname, 2:string tbl_name) > throws (1:MetaException o1, 2:NoSuchObjectException o2) > list get_table_objects_by_name(1:string dbname, 2:list tbl_names) > throws (1:MetaException o1, 2:InvalidOperationException o2, 3:UnknownDBException o3) > list get_table_names_by_filter(1:string dbname, 2:string filter, 3:i16 max_tables=-1) > throws (1:MetaException o1, 2:InvalidOperationException o2, 3:UnknownDBException o3) > Partition add_partition(1:Partition new_part) > throws(1:InvalidObjectException o1, 2:AlreadyExistsException o2, 3:MetaException o3) > i32 add_partitions(1:list new_parts) > throws(1:InvalidObjectException o1, 2:AlreadyExistsException o2, 3:MetaException o3) > Partition append_partition(1:string db_name, 2:string tbl_name, 3:list part_vals) > throws (1:InvalidObjectException o1, 2:AlreadyExistsException o2, 3:MetaException o3) > Partition append_partition_by_name(1:string db_name, 2:string tbl_name, 3:string part_name) > throws (1:InvalidObjectException o1, 2:AlreadyExistsException o2, 3:MetaException o3) > bool drop_partition(1:string db_name, 2:string tbl_name, 3:list part_vals, 4:bool deleteData) > throws(1:NoSuchObjectException o1, 2:MetaException o2) > bool drop_partition_by_name(1:string db_name, 2:string tbl_name, 3:string part_name, 4:bool deleteData) > throws(1:NoSuchObjectException o1, 2:MetaException o2) > Partition get_partition(1:string db_name, 2:string tbl_name, 3:list part_vals) > throws(1:MetaException o1, 2:NoSuchObjectException o2) > Partition get_partition_with_auth(1:string db_name, 2:string tbl_name, 3:list part_vals, > 4: string user_name, 5: list group_names) throws(1:MetaException o1, 2:NoSuchObjectException o2) > Partition get_partition_by_name(1:string db_name 2:string tbl_name, 3:string part_name) > throws(1:MetaException o1, 2:NoSuchObjectException o2) > list get_partitions(1:string db_name, 2:string tbl_name, 3:i16 max_parts=-1) > throws(1:NoSuchObjectException o1, 2:MetaException o2) > list get_partitions_with_auth(1:string db_name, 2:string tbl_name, 3:i16 max_parts=-1, > 4: string user_name, 5: list group_names) throws(1:NoSuchObjectException o1, 2:MetaException o2) > list get_partition_names(1:string db_name, 2:string tbl_name, 3:i16 max_parts=-1) > throws(1:MetaException o2) > list get_partitions_ps(1:string db_name 2:string tbl_name > 3:list part_vals, 4:i16 max_parts=-1) > throws(1:MetaException o1, 2:NoSuchObjectException o2) > list get_partitions_ps_with_auth(1:string db_name, 2:string tbl_name, 3:list part_vals, 4:i16 max_parts=-1, > 5: string user_name, 6: list group_names) throws(1:NoSuchObjectException o1, 2:MetaException o2) > list get_partition_names_ps(1:string db_name, > 2:string tbl_name, 3:list part_vals, 4:i16 max_parts=-1) > throws(1:MetaException o1, 2:NoSuchObjectException o2) > list get_partitions_by_filter(1:string db_name 2:string tbl_name > 3:string filter, 4:i16 max_parts=-1) > throws(1:MetaException o1, 2:NoSuchObjectException o2) > list get_partitions_by_names(1:string db_name 2:string tbl_name 3:list names) > throws(1:MetaException o1, 2:NoSuchObjectException o2) > bool drop_index_by_name(1:string db_name, 2:string tbl_name, 3:string index_name, 4:bool deleteData) > throws(1:NoSuchObjectException o1, 2:MetaException o2) > Index get_index_by_name(1:string db_name 2:string tbl_name, 3:string index_name) > throws(1:MetaException o1, 2:NoSuchObjectException o2) > list get_indexes(1:string db_name, 2:string tbl_name, 3:i16 max_indexes=-1) > throws(1:NoSuchObjectException o1, 2:MetaException o2) > list get_index_names(1:string db_name, 2:string tbl_name, 3:i16 max_indexes=-1) > throws(1:MetaException o2) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira