You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sushanth Sowmyan (JIRA)" <ji...@apache.org> on 2014/02/19 21:57:21 UTC

[jira] [Commented] (HIVE-6465) Introduce ql grammar for immutability property

    [ 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)