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

    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

            People

              sushanth Sushanth Sowmyan
              sushanth Sushanth Sowmyan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: