You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Arjun Mishra (JIRA)" <ji...@apache.org> on 2018/08/09 17:48:00 UTC
[jira] [Created] (SENTRY-2341) With External Tables Sentry does not
handle alter table rename correctly
Arjun Mishra created SENTRY-2341:
------------------------------------
Summary: With External Tables Sentry does not handle alter table rename correctly
Key: SENTRY-2341
URL: https://issues.apache.org/jira/browse/SENTRY-2341
Project: Sentry
Issue Type: Bug
Components: Sentry
Affects Versions: 2.1.0
Reporter: Arjun Mishra
Assignee: Arjun Mishra
For external tables, running ALTER TABLE RENAME will not change the location of that table, but will drop the ACL.
Sentry drops privileges every time we delete an object, or rename an object. In case of rename Sentry drops the privilege from old object and adds to new one
However with external tables, on renaming the table no new location is created. So even though Sentry has in its SENTRY_PATH_CHANGE the ACL for this new location, it never gets applied because it doesn't actually exist
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)