🔥
Databricks Unity Catalog スキーマに対して権限を持っている人 & 人に対して持っている権限
スキーマに対して権限を持っている人
SELECT distinct catalog_name, schema_name, grantee
FROM your_catalog.information_schema.schema_privileges
where schema_name='your schema name'
人に対して持っている権限
SELECT distinct, catalog_name, schema_name, grantee
FROM your_catalog.information_schema.schema_privileges
where grantee='your principal'
reference
権限内容も確認したい時は PRIVILEGE_TYPE 等も追加。
Discussion