🔥

Databricks Unity Catalog スキーマに対して権限を持っている人 & 人に対して持っている権限

2025/04/02に公開

スキーマに対して権限を持っている人

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

https://docs.databricks.com/gcp/ja/sql/language-manual/information-schema/schema_privileges
権限内容も確認したい時は PRIVILEGE_TYPE 等も追加。

Discussion