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

Dan States commented on HIVE-335:
---------------------------------

I would love to see this feature get implemented for the reasons already 
stated.  I have data in a pig workflow that is much more convenient to query 
via hive when performing ad-hoc analysis.  I want read-only access to the data, 
otherwise I have to copy the entire table for my personal user to be able to 
poke around in the data, as I don't want to touch production work queues or 
accidentally make changes.

> 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.3.4#6332)

Reply via email to