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

Import should create a new WriteEntity for the new table it's creating to mimic CREATETABLE behaviour

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

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2.0, 1.3.0, 2.0.0, 2.1.0
    • None
    • None

    Description

      CREATE-TABLE creates a new WriteEntity for the new table being created, whereas IMPORT does not mimic that behaviour.

      While SQLStandardAuth itself does not care about this difference, external Authorizers, as with Ranger can and do make a distinction on this, and can have policies set up on patterns for objects that do not yet exist. Thus, we must emit a WriteEntity for the yet-to-be-created table as well.

      Attachments

        Issue Links

        Activity

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

          People

            sushanth Sushanth Sowmyan Assign to me
            sushanth Sushanth Sowmyan

            Dates

              Created:
              Updated:

              Slack

                Issue deployment