[
https://issues.apache.org/jira/browse/HIVE-6465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13906063#comment-13906063
]
Sushanth Sowmyan commented on HIVE-6465:
----------------------------------------
Current grammar for data protections are as follows:
{noformat}
ALTER TABLE table_name [PARTITION partition_spec] ENABLE|DISABLE NO_DROP;
ALTER TABLE table_name [PARTITION partition_spec] ENABLE|DISABLE OFFLINE;
{noformat}
Proposed new grammar for immutability:
{noformat}
ALTER TABLE table_name ENABLE|DISABLE IMMUTABILITY;
{noformat}
> Introduce ql grammar for immutability property
> ----------------------------------------------
>
> Key: HIVE-6465
> URL: https://issues.apache.org/jira/browse/HIVE-6465
> Project: Hive
> Issue Type: Sub-task
> Components: HCatalog, Metastore, Query Processor, Thrift API
> Reporter: Sushanth Sowmyan
>
> HIVE-6406 introduces a notion of an immutable table in hive. In essence, it
> is a data protection feature similar to current hive protections like OFFLINE
> and NO_DROP. Thus, rather than having its interface being people mucking
> around TBLPROPERTIES, we should have ql grammar for it.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)