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/27 14:19:00 UTC

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

     [ https://issues.apache.org/jira/browse/SENTRY-2368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arjun Mishra resolved SENTRY-2368.
----------------------------------
    Resolution: Duplicate

Duplicate of SENTRY-2144

> 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
>            Priority: Major
>
> 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)