[ 
https://issues.apache.org/jira/browse/HIVE-11145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alan Gates updated HIVE-11145:
------------------------------
    Attachment: HIVE-11145.2.patch

New version of the patch with expected output changes for tests.  

If you are reviewing this patch, there are no code changes between the first 
patch and the second other than removing the ALTERPARTITIONPROTECTMODE that 
Damien pointed out.  It will be easier to review the first as it's much smaller.

> Remove OFFLINE and NO_DROP from tables and partitions
> -----------------------------------------------------
>
>                 Key: HIVE-11145
>                 URL: https://issues.apache.org/jira/browse/HIVE-11145
>             Project: Hive
>          Issue Type: Improvement
>          Components: Metastore, SQL
>    Affects Versions: 2.0.0
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>         Attachments: HIVE-11145.2.patch, HIVE-11145.patch
>
>
> Currently a table or partition can be marked no_drop or offline.  This 
> prevents users from dropping or reading (and dropping) the table or 
> partition.  This was built in 0.7 before SQL standard authorization was an 
> option. 
> This is an expensive feature as when a table is dropped every partition must 
> be fetched and checked to make sure it can be dropped.
> This feature is also redundant now that real authorization is available in 
> Hive.
> This feature should be removed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to