[
https://issues.apache.org/jira/browse/HIVE-804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12749035#action_12749035
]
Zheng Shao commented on HIVE-804:
---------------------------------
bq. IMO, the trickier problem is to make sure the partition data directory(ies)
gets deleted atomically along with the partitions. Even for a prefix, the
partition data directories can be different based on how the partition is
created. we need to get those semantics correctly
Can you explain what do you mean by "the partition data directories can be
different based on how the partition is created". Is that only for external
tables? I thought internal tables always creates the directories in the order
that is specified in "create table", isn't it?
> Support deletion of partitions based on a prefix partition spefication
> ----------------------------------------------------------------------
>
> Key: HIVE-804
> URL: https://issues.apache.org/jira/browse/HIVE-804
> Project: Hadoop Hive
> Issue Type: New Feature
> Reporter: Zheng Shao
>
> Sometimes users create partitions like (date='...', time='...'). It is useful
> if user can delete all the partitions of the same day (and different time)
> with a single command:
> {code}
> ALTER TABLE test DROP PARTITION (date='2009-08-26');
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.