You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by su...@apache.org on 2015/11/02 18:22:09 UTC

[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/bbc7f1cf
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/bbc7f1cf
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/bbc7f1cf

Branch: refs/heads/master
Commit: bbc7f1cfd6c701b6ea03f14d38616752066ea434
Parents: 409db57
Author: Aihua Xu <ai...@gmail.com>
Authored: Mon Nov 2 09:21:38 2015 -0800
Committer: Chao Sun <su...@apache.org>
Committed: Mon Nov 2 09:21:38 2015 -0800

----------------------------------------------------------------------
 metastore/if/hive_metastore.thrift              |    5 +
 .../gen/thrift/gen-cpp/ThriftHiveMetastore.cpp  | 1752 +++++---
 .../gen/thrift/gen-cpp/ThriftHiveMetastore.h    |  186 +
 .../ThriftHiveMetastore_server.skeleton.cpp     |    5 +
 .../hive/metastore/api/ThriftHiveMetastore.java | 3987 +++++++++++++-----
 .../gen-php/metastore/ThriftHiveMetastore.php   | 1144 +++--
 .../hive_metastore/ThriftHiveMetastore-remote   |    7 +
 .../hive_metastore/ThriftHiveMetastore.py       |  790 +++-
 .../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      |    5 +
 .../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, 5902 insertions(+), 2192 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/bbc7f1cf/metastore/if/hive_metastore.thrift
----------------------------------------------------------------------
diff --git a/metastore/if/hive_metastore.thrift b/metastore/if/hive_metastore.thrift
index 3e30f56..98fd42b 100755
--- a/metastore/if/hive_metastore.thrift
+++ b/metastore/if/hive_metastore.thrift
@@ -988,6 +988,11 @@ service ThriftHiveMetastore extends fb303.FacebookService
       throws(1:MetaException o1, 2:NoSuchObjectException o2, 3:InvalidObjectException o3,
       4:InvalidInputException o4)
 
+  list<Partition> exchange_partitions(1:map<string, string> 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<string> part_vals,
       4: string user_name, 5: list<string> group_names) throws(1:MetaException o1, 2:NoSuchObjectException o2)