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 <aihu...@gmail.com>
Authored: Mon Nov 2 09:21:38 2015 -0800
Committer: Aihua Xu <aihu...@apache.org>
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<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)
 

Reply via email to