hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sp...@apache.org
Subject [2/2] hive git commit: HIVE-16287: Alter table partition rename with location - moves partition back to hive warehouse (Vihang Karajgaonkar, reviewed by Sergio Pena, Ying Chen) (addendum I)
Date Tue, 18 Apr 2017 15:10:03 GMT
HIVE-16287: Alter table partition rename with location - moves partition back to hive warehouse
(Vihang Karajgaonkar, reviewed by Sergio Pena, Ying Chen) (addendum I)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/d9927aa0
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/d9927aa0
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/d9927aa0

Branch: refs/heads/branch-2.3
Commit: d9927aa02546d3b41987c22856c5644c56df8f4d
Parents: 49f6499
Author: Vihang Karajgaonkar <vihang@cloudera.com>
Authored: Mon Apr 17 13:43:58 2017 -0500
Committer: Sergio Pena <sergio.pena@cloudera.com>
Committed: Tue Apr 18 10:09:48 2017 -0500

----------------------------------------------------------------------
 ql/src/test/queries/clientpositive/rename_partition_location.q   | 2 +-
 .../test/results/clientpositive/rename_partition_location.q.out  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/d9927aa0/ql/src/test/queries/clientpositive/rename_partition_location.q
----------------------------------------------------------------------
diff --git a/ql/src/test/queries/clientpositive/rename_partition_location.q b/ql/src/test/queries/clientpositive/rename_partition_location.q
index bf8baca..583c10a 100644
--- a/ql/src/test/queries/clientpositive/rename_partition_location.q
+++ b/ql/src/test/queries/clientpositive/rename_partition_location.q
@@ -26,7 +26,7 @@ ALTER TABLE rename_partition_table_2 PARTITION (part = '1') RENAME TO PARTITION
 
 SET hive.exec.post.hooks=org.apache.hadoop.hive.ql.hooks.VerifyPartitionIsSubdirectoryOfTableHook;
 
-SELECT count(*) FROM rename_partition_table where part = '2';
+SELECT count(*) FROM rename_partition_table_2 where part = '2';
 
 SET hive.exec.post.hooks=;
 

http://git-wip-us.apache.org/repos/asf/hive/blob/d9927aa0/ql/src/test/results/clientpositive/rename_partition_location.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/rename_partition_location.q.out b/ql/src/test/results/clientpositive/rename_partition_location.q.out
index 55c31bc..4fbc5de 100644
--- a/ql/src/test/results/clientpositive/rename_partition_location.q.out
+++ b/ql/src/test/results/clientpositive/rename_partition_location.q.out
@@ -60,9 +60,9 @@ PREHOOK: query: ALTER TABLE rename_partition_table_2 PARTITION (part = '1')
RENA
 PREHOOK: type: ALTERTABLE_RENAMEPART
 PREHOOK: Input: default@rename_partition_table_2
 PREHOOK: Output: default@rename_partition_table_2@part=1
-PREHOOK: query: SELECT count(*) FROM rename_partition_table where part = '2'
+PREHOOK: query: SELECT count(*) FROM rename_partition_table_2 where part = '2'
 PREHOOK: type: QUERY
-PREHOOK: Input: default@rename_partition_table
+PREHOOK: Input: default@rename_partition_table_2
 #### A masked pattern was here ####
 500
 PREHOOK: query: DROP TABLE rename_partition_table


Mime
View raw message