You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Gaurav Shah (JIRA)" <ji...@apache.org> on 2017/11/22 05:22:00 UTC

[jira] [Commented] (HIVE-335) External Tables should have the option to be marked Read Only

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

Gaurav Shah commented on HIVE-335:
----------------------------------

is there a workaround for this ? trying to create readonly external table since I do not want end users to be able to impact prod data

> External Tables should have the option to be marked Read Only
> -------------------------------------------------------------
>
>                 Key: HIVE-335
>                 URL: https://issues.apache.org/jira/browse/HIVE-335
>             Project: Hive
>          Issue Type: Improvement
>          Components: Metastore, Query Processor
>            Reporter: Richard Lee
>
> When creating an External Table, it'd be awesome to have the option of NOT allowing writes to it (disallow any INSERTs or if hive ever allows UPDATEs).  Adding and Dropping Partitions should still be allowed.
> This will enable hive to "play well" with external data stores other than hdfs where data should be non-maleable.
> I'd recomend the following syntax, which applies ONLY to external tables:
> CREATE EXTERNAL [READONLY] TABLE ...



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)