hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chaoyu Tang <ctang...@gmail.com>
Subject Review Request 51395: HIVE-14626: Support Trash in Truncate Table
Date Wed, 24 Aug 2016 23:32:26 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/51395/
-----------------------------------------------------------

Review request for hive.


Bugs: HIVE-14626
    https://issues.apache.org/jira/browse/HIVE-14626


Repository: hive-git


Description
-------

Truncate table/partition is implemented to clean the contents of table/partiton directory
using multi-threaded trashFiles instead of deleting/recreating the directory, so the encryption
level is preserved if any. In addition, it supports the HDFS Trash.


Diffs
-----

  ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java a59b781 
  ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java 5f53aef 
  ql/src/test/queries/clientpositive/encryption_drop_partition.q 57dfabd 
  ql/src/test/queries/clientpositive/encryption_drop_table.q 2ae3c69 
  ql/src/test/results/clientpositive/encrypted/encryption_drop_partition.q.out 2643006 
  ql/src/test/results/clientpositive/encrypted/encryption_drop_table.q.out c5007ee 

Diff: https://reviews.apache.org/r/51395/diff/


Testing
-------

Manual tests
New ptests
precommit tests


Thanks,

Chaoyu Tang


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message