Skip to main content
VeloDB Cloud 26.x is based on Apache Doris 4.x. See Version Mapping.

user_privileges

Inspect global SQL user 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.user_privileges LIMIT 10;

Database​

information_schema

Table information​

Column nameTypeDescription
GRANTEEvarchar(81)The user who is granted the privilege.
TABLE_CATALOGvarchar(512)Always 'def'.
PRIVILEGE_TYPEvarchar(64)Type of privilege.
IS_GRANTABLEvarchar(3)Whether the privilege can be granted to others.

Use DESCRIBE information_schema.user_privileges; to inspect the schema in your warehouse.