[ 
https://issues.apache.org/jira/browse/HIVE-2777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13203913#comment-13203913
 ] 

Aniket Mokashi commented on HIVE-2777:
--------------------------------------

I am adding deleteData option there, deletion of data itself cannot be made 
atomic. But, its good to have as part of the api. deleteData=true attempts to 
delete the data.
                
> ability to add and drop partitions atomically
> ---------------------------------------------
>
>                 Key: HIVE-2777
>                 URL: https://issues.apache.org/jira/browse/HIVE-2777
>             Project: Hive
>          Issue Type: New Feature
>          Components: Metastore
>            Reporter: Aniket Mokashi
>             Fix For: 0.9.0
>
>
> Hive should have ability to atomically add and drop partitions. This way 
> admins can change partitions atomically without breaking the running jobs. It 
> allows admin to merge several partitions into one.
> Essentially, we would like to have an api- add_drop_partitions(String db, 
> String tbl_name, List<Partition> addParts, List<List<String>> dropParts, 
> boolean deleteData);
> This jira covers changes required for metastore and thrift.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to