drop table partition behaving oddly - does not create subdirectories
--------------------------------------------------------------------

                 Key: HIVE-141
                 URL: https://issues.apache.org/jira/browse/HIVE-141
             Project: Hadoop Hive
          Issue Type: Bug
          Components: Metastore
    Affects Versions: 0.20.0
            Reporter: Hao Liu


for example, I have a table, which has two partitions:
tmp_table_name/dt=2008-11-01
tmp_table_name/dt=2008-11-02

When we use hive metastore to drop the first partition (as root), I expect the 
data file will be moved to 
user/root/.Trash/081103xxxx/tmp_table_name/dt=2008-11-01 by default. However, 
directory tmp_table_name was not created, the data was moved to 
user/root/.Trash/081103xxxx/dt=2008-11-01, which makes data recovery a very 
difficult task.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to