drop partition with partial specification should remove the HDFS directory
corresponding to the root of PS
----------------------------------------------------------------------------------------------------------
Key: HIVE-2193
URL: https://issues.apache.org/jira/browse/HIVE-2193
Project: Hive
Issue Type: Improvement
Reporter: Ning Zhang
Assignee: Paul Yang
If a table have multiple partitions, say (ds, hr), currently the following
command:
alter table T drop partition(ds='1');
won't delete the directory .../T/ds=1, although all subdirectories are deleted.
This could result in a lot of dangling inodes in HDFS.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira