[ https://issues.apache.org/jira/browse/HIVE-3646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502580#comment-13502580 ]
Namit Jain commented on HIVE-3646: ---------------------------------- >From the code, it looks like, it doesn't matter if the tables/partitions are >hdfs or non-hdfs. They will be dropped either way. https://cwiki.apache.org/Hive/languagemanual-ddl.html Can you document the behavior above ? > Add 'IGNORE PROTECTION' predicate for dropping partitions > --------------------------------------------------------- > > Key: HIVE-3646 > URL: https://issues.apache.org/jira/browse/HIVE-3646 > Project: Hive > Issue Type: New Feature > Components: CLI > Affects Versions: 0.9.0 > Reporter: Andrew Chalfant > Assignee: Andrew Chalfant > Priority: Minor > Attachments: HIVE-3646.1.patch.txt > > Original Estimate: 1m > Remaining Estimate: 1m > > There are cases where it is desirable to move partitions between clusters. > Having to undo protection and then re-protect tables in order to delete > partitions from a source are multi-step and can leave us in a failed open > state where partition and table metadata is dirty. By implementing an 'rm > -rf'-like functionality, we can perform these operations atomically. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira