Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Right now, when renaming a table, if the database changes, the privileges will be moved to the wrong table.
For example, original table is db1.tbl1, and user changes to db2.tbl2 using command
ALTER TABLE [old_db_name.]old_table_name RENAME TO [new_db_name.]new_table_name
Expected behavior:
The privileges associated with db1.tbl1 should be removed from db1.tbl1, and added to db2.tbl2.
Actual behavior:
The privileges associated with db1.tbl1 is removed from db1.tbl1, and added to db1.tbl2.
Attachments
Attachments
Issue Links
- is duplicated by
-
SENTRY-2368 Alter table rename across databases is not persisted correctly
- Resolved
- links to