getTableAccessByCluster

Syntax

getTableAccessByCluster(table)

Arguments

table is a STRING scalar indicating a table in the format: {catalog}.{schema}.{pt}@{cluster}.

Details

Get all user privileges for a specified table. This function can only be executed by an administrator on the MoM (Master of Masters) cluster.

Return value: A table with the same structure as the return value of the getTableAccess function.

Examples

getTableAccessByCluster("catalog1.schema1.dt@MoMSender")
name type TABLE_READ TABLE_INSERT TABLE_UPDATE TABLE_DELETE
admin user ALLOW ALLOW ALLOW ALLOW

Related Function: getTableAccess