FAQ
Author: brock
Date: Wed Jan 7 22:53:39 2015
New Revision: 1650192

URL: http://svn.apache.org/r1650192
Log:
HIVE-9286 - Add clean up code in some encryption related test cases (Dong Chen via Brock)

Modified:
     hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_join_unencrypted_tbl.q
     hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_select_read_only_encrypted_tbl.q
     hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_select_read_only_unencrypted_tbl.q

Modified: hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_join_unencrypted_tbl.q
URL: http://svn.apache.org/viewvc/hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_join_unencrypted_tbl.q?rev=1650192&r1=1650191&r2=1650192&view=diff
==============================================================================
--- hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_join_unencrypted_tbl.q (original)
+++ hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_join_unencrypted_tbl.q Wed Jan 7 22:53:39 2015
@@ -9,4 +9,7 @@ INSERT OVERWRITE TABLE encrypted_table S

  SELECT * FROM encrypted_table;

-EXPLAIN EXTENDED SELECT * FROM src t1 JOIN encrypted_table t2 WHERE t1.key = t2.key;
\ No newline at end of file
+EXPLAIN EXTENDED SELECT * FROM src t1 JOIN encrypted_table t2 WHERE t1.key = t2.key;
+
+drop table encrypted_table;
+CRYPTO DELETE_KEY --keyName key_128;
\ No newline at end of file

Modified: hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_select_read_only_encrypted_tbl.q
URL: http://svn.apache.org/viewvc/hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_select_read_only_encrypted_tbl.q?rev=1650192&r1=1650191&r2=1650192&view=diff
==============================================================================
--- hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_select_read_only_encrypted_tbl.q (original)
+++ hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_select_read_only_encrypted_tbl.q Wed Jan 7 22:53:39 2015
@@ -11,3 +11,6 @@ LOAD DATA LOCAL INPATH '../../data/files
  dfs -chmod -R 555 /user/hive/warehouse/default/encrypted_table;

  SELECT count(*) FROM encrypted_table;
+
+drop table encrypted_table;
+CRYPTO DELETE_KEY --keyName key_128;

Modified: hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_select_read_only_unencrypted_tbl.q
URL: http://svn.apache.org/viewvc/hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_select_read_only_unencrypted_tbl.q?rev=1650192&r1=1650191&r2=1650192&view=diff
==============================================================================
--- hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_select_read_only_unencrypted_tbl.q (original)
+++ hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_select_read_only_unencrypted_tbl.q Wed Jan 7 22:53:39 2015
@@ -7,4 +7,6 @@ LOAD DATA LOCAL INPATH '../../data/files

  dfs -chmod -R 555 /user/hive/warehouse/default/unencrypted_table;

-SELECT count(*) FROM unencrypted_table;
\ No newline at end of file
+SELECT count(*) FROM unencrypted_table;
+
+drop table unencrypted_table;
\ No newline at end of file

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommits @
categorieshive, hadoop
postedJan 7, '15 at 10:53p
activeJan 7, '15 at 10:53p
posts1
users1
websitehive.apache.org

1 user in discussion

Brock: 1 post

People

Translate

site design / logo © 2021 Grokbase