Return-Path: X-Original-To: apmail-hive-commits-archive@www.apache.org Delivered-To: apmail-hive-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7E759181AC for ; Wed, 13 Jan 2016 15:03:08 +0000 (UTC) Received: (qmail 83365 invoked by uid 500); 13 Jan 2016 15:03:07 -0000 Delivered-To: apmail-hive-commits-archive@hive.apache.org Received: (qmail 83275 invoked by uid 500); 13 Jan 2016 15:03:07 -0000 Mailing-List: contact commits-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hive.apache.org Delivered-To: mailing list commits@hive.apache.org Received: (qmail 82840 invoked by uid 99); 13 Jan 2016 15:03:07 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jan 2016 15:03:07 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 4E0D6E382B; Wed, 13 Jan 2016 15:03:07 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: aihuaxu@apache.org To: commits@hive.apache.org Date: Wed, 13 Jan 2016 15:03:12 -0000 Message-Id: <51aeeaffaa6d4be2a4c4d381148b77bf@git.apache.org> In-Reply-To: <8e92abb2d3b241c4936646e5bf3cc2a4@git.apache.org> References: <8e92abb2d3b241c4936646e5bf3cc2a4@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [6/6] hive git commit: HIVE-12215: Exchange partition does not show outputs field for post/pre execute hooks (Aihua Xu, reviewed by Xuefu Zhang) HIVE-12215: Exchange partition does not show outputs field for post/pre execute hooks (Aihua Xu, reviewed by Xuefu Zhang) Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/96c9ee64 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/96c9ee64 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/96c9ee64 Branch: refs/heads/branch-1 Commit: 96c9ee64fc4a5101ccdf664b12de9d4be1da465e Parents: fd22de0 Author: Aihua Xu Authored: Mon Nov 2 09:21:38 2015 -0800 Committer: Aihua Xu Committed: Wed Jan 13 09:49:22 2016 -0500 ---------------------------------------------------------------------- metastore/if/hive_metastore.thrift | 5 + .../gen/thrift/gen-cpp/ThriftHiveMetastore.cpp | 1647 +++++--- .../gen/thrift/gen-cpp/ThriftHiveMetastore.h | 199 + .../ThriftHiveMetastore_server.skeleton.cpp | 5 + .../hive/metastore/api/ThriftHiveMetastore.java | 3989 +++++++++++++----- .../gen-php/metastore/ThriftHiveMetastore.php | 1144 +++-- .../hive_metastore/ThriftHiveMetastore-remote | 7 + .../hive_metastore/ThriftHiveMetastore.py | 779 +++- .../gen/thrift/gen-rb/thrift_hive_metastore.rb | 84 + .../hadoop/hive/metastore/HiveMetaStore.java | 13 +- .../hive/metastore/HiveMetaStoreClient.java | 16 + .../hadoop/hive/metastore/IMetaStoreClient.java | 16 + .../org/apache/hadoop/hive/ql/exec/DDLTask.java | 13 +- .../apache/hadoop/hive/ql/metadata/Hive.java | 31 +- .../hive/ql/parse/DDLSemanticAnalyzer.java | 4 + .../clientnegative/exchange_partition.q.out | 2 + .../clientpositive/exchange_partition.q.out | 6 + .../clientpositive/exchange_partition2.q.out | 6 + .../clientpositive/exchange_partition3.q.out | 8 + .../clientpositive/exchgpartition2lel.q.out | 18 + 20 files changed, 5799 insertions(+), 2193 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/96c9ee64/metastore/if/hive_metastore.thrift ---------------------------------------------------------------------- diff --git a/metastore/if/hive_metastore.thrift b/metastore/if/hive_metastore.thrift index d651195..c58c3a8 100755 --- a/metastore/if/hive_metastore.thrift +++ b/metastore/if/hive_metastore.thrift @@ -935,6 +935,11 @@ service ThriftHiveMetastore extends fb303.FacebookService throws(1:MetaException o1, 2:NoSuchObjectException o2, 3:InvalidObjectException o3, 4:InvalidInputException o4) + list exchange_partitions(1:map partitionSpecs, 2:string source_db, + 3:string source_table_name, 4:string dest_db, 5:string dest_table_name) + throws(1:MetaException o1, 2:NoSuchObjectException o2, 3:InvalidObjectException o3, + 4:InvalidInputException o4) + 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)