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)

Reply via email to