Sushanth Sowmyan created HIVE-12630:
---------------------------------------
Summary: Import should create a new WriteEntity for the new table
it's creating to mimic CREATETABLE behaviour
Key: HIVE-12630
URL: https://issues.apache.org/jira/browse/HIVE-12630
Project: Hive
Issue Type: Bug
Components: Authorization, Import/Export
Affects Versions: 1.2.0, 1.3.0, 2.0.0, 2.1.0
Reporter: Sushanth Sowmyan
Assignee: Sushanth Sowmyan
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)