table_privileges
Inspect table privileges represented by the MySQL-compatible privilege metadata.
Run the query in the warehouse SQL Editor or a connected SQL client:
SELECT * FROM information_schema.table_privileges LIMIT 10;
Database
information_schema
Table information
| Column name | Type | Description |
|---|---|---|
GRANTEE | varchar(81) | The authorized user. |
TABLE_CATALOG | varchar(512) | The name of the catalog. |
TABLE_SCHEMA | varchar(64) | The name of the database. |
TABLE_NAME | varchar(64) | The name of the table. |
PRIVILEGE_TYPE | varchar(64) | The type of privilege. |
IS_GRANTABLE | varchar(3) | Whether the privilege can be granted to others. |
Use DESCRIBE information_schema.table_privileges; to inspect the schema in your warehouse.