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:
| Field | Description | 
|---|---|
| GRANTEE | The name of the user to which the privilege is granted. | 
| TABLE_CATALOG | The name of the catalog to which the table belongs. This value is always def. | 
| TABLE_SCHEMA | The name of the database to which the table belongs. | 
| TABLE_NAME | The name of the table. | 
| PRIVILEGE_TYPE | The privilege granted. The value can be any privilege that can be granted at the table level. | 
| IS_GRANTABLE | YESif the user has theGRANT OPTIONprivilege,NOotherwise. The output does not listGRANT OPTIONas a separate row withPRIVILEGE_TYPE='GRANT OPTION'. |