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/24 18:24:00 UTC

[jira] [Created] (SENTRY-2368) Alter table rename across databases is not persisted correctly

Arjun Mishra created SENTRY-2368:
------------------------------------

             Summary: Alter table rename across databases is not persisted correctly
                 Key: SENTRY-2368
                 URL: https://issues.apache.org/jira/browse/SENTRY-2368
             Project: Sentry
          Issue Type: Bug
    Affects Versions: 2.1.0
            Reporter: Arjun Mishra
            Assignee: Arjun Mishra


When alter table rename from one table in one database to another database is executed, SENTRY_DB_PRIVILEGE table only updates the new table, but not the database.
For eg: 
* Db1 -> Tbl1
* ALTER TABLE Db1.Tbl1 RENAME TO Db2.Tbl2
* SENTRY_DB_PRIVILEGE will continue to show DATABASE value to be Db1, when it should be Db2



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)