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

Damien Carol commented on HIVE-11145:
-------------------------------------

In v1, in file ql/src/java/org/apache/hadoop/hive/ql/plan/AlterTableDesc.java 
(line 55)

> 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.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