Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-335

External Tables should have the option to be marked Read Only

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Metastore, Query Processor
    • None

    Description

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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned Assign to me
            rl337 Richard Lee

            Dates

              Created:
              Updated:

              Slack

                Issue deployment