Skip to main content
Version: 3.2

table_privileges

note

This view does not apply to the available features in StarRocks.

table_privileges provides information about table privileges.

The following fields are provided in table_privileges:

FieldDescription
GRANTEEThe name of the user to which the privilege is granted.
TABLE_CATALOGThe name of the catalog to which the table belongs. This value is always def.
TABLE_SCHEMAThe name of the database to which the table belongs.
TABLE_NAMEThe name of the table.
PRIVILEGE_TYPEThe privilege granted. The value can be any privilege that can be granted at the table level.
IS_GRANTABLEYES if the user has the GRANT OPTION privilege, NO otherwise. The output does not list GRANT OPTION as a separate row with PRIVILEGE_TYPE='GRANT OPTION'.