Databricks; Table ACL; Unable to change table ownership

Viewed 1336
1 Answers

When table ACLs are enabled on a cluster, a user who creates a database, table, view, or function becomes its owner. The owner is granted all privileges and can grant privileges to other users.

Steps to assign owner to object:

An administrator can assign an owner to an object using the ALTER <object> OWNER TO <user-name>@<user-domain>.com command:

ALTER DATABASE <database-name> OWNER TO `<user-name>@<user-domain>.com`
ALTER TABLE <table-name> OWNER TO `<user-name>@<user-domain>.com`
ALTER VIEW <view-name> OWNER TO `<user-name>@<user-domain>.com`

To ALTER DATABASE:

enter image description here

To ALTER TABLE:

enter image description here

To ALTER VIEW:

enter image description here

Reference: Azure Databricks - Data object privileges.

Related