ROW_COLUMN_ACCESS error class

Error using row filters or column masks:

This error class has the following derived error classes:

ASSIGNED_COLUMN_MASK_DUPLICATE_USING_COLUMN_NAME

A <statementType> statement attempted to assign a mask to a column which included two or more other referenced columns in the USING COLUMNS list with the same name <columnName>, which is invalid.

ASSIGNED_COLUMN_MASK_FUNCTION_NOT_FOUND

A <statementType> statement attempted to assign a mask to a column <columnName>, but the requested function <functionName> did not match the name of any SQL user-defined function in the catalog.

ASSIGNED_COLUMN_MASK_MULTI_PART_TARGET_COLUMN_NAME

This statement attempted to assign a mask to a column <columnName> with multiple name parts, which is invalid.

ASSIGNED_COLUMN_MASK_MULTI_PART_USING_COLUMN_NAME

This statement attempted to assign a mask to a column and the USING COLUMNS list included the name <columnName> with multiple name parts, which is invalid.

ASSIGNED_COLUMN_MASK_USING_COLUMN_NAME_SAME_AS_TARGET_COLUMN

The column <columnName> had the same name as the target column, which is invalid; please remove the column from the USING COLUMNS list and retry the command.

ASSIGNED_COLUMN_MASK_WRONG_NUMBER_OF_COLUMNS

This statement attempted to assign a mask to a column, but the number of requested names in the USING COLUMNS list (plus the single target column name) did not match the number of arguments in the column mask function (<sqlUdfArgumentNames>).

ASSIGNED_ROW_FILTER_DUPLICATE_COLUMN_NAME

A <statementType> statement attempted to assign a row filter to a table, but two or more referenced columns had the same name <columnName>, which is invalid.

ASSIGNED_ROW_FILTER_FUNCTION_NOT_FOUND

A <statementType> statement attempted to assign a row filter to a table, but the requested function <functionName> did not match the name of any SQL user-defined function in the catalog.

ASSIGNED_ROW_FILTER_MULTI_PART_COLUMN_NAME

This statement attempted to assign a row filter to a table, but referenced column <columnName> had multiple name parts, which is invalid.

ASSIGNED_ROW_FILTER_WRONG_NUMBER_OF_COLUMNS

This statement attempted to assign a row filter to a table, but the number of target table column names requested did not match the number of arguments in the row filter function (<sqlUdfArgumentNames>).

ASSIGNED_TABLE_PROVIDER_NOT_SUPPORTED

Failed to execute <statementType> command because assigning row filters or column masks is not supported for target data source with table provider: “<provider>”.

NOT_A_UNITY_CATALOG_TABLE

Support for defining row filters or column masks is only supported for Unity Catalog tables

NOT_ENABLED

Support for defining row filters or column masks is not enabled

NOT_IMPLEMENTED_YET

Support for defining row filters or column masks is in development but not finished yet<reason>.

QUERIED_TABLE_INCOMPATIBLE_WITH_ROW_OR_COLUMN_ACCESS_POLICY

Unable to access referenced table <tableName> because a previously assigned row filter or column mask is currently incompatible with the table schema; to continue, please contact the owner of the table to update the policy.