โ05-05-2025 05:18 AM
I have been trying to use the Row filtering and Column masking feature to redacted columns and and filter rows based on the group a user is in.
I have all the necessary permissions and I've used cluster's with version 15.4 and higher.
When I run the following statements
ALTER TABLE testtable_new ALTER COLUMN payload SET MASK payload_mask;
ALTER TABLE testtable_new SET ROW FILTER row_filter ON (payload);
I get the this error
UnityCatalogServiceException: [RequestId=48187b09-7063-42e2-9b12-643717b0eb91 ErrorClass=ABORTED.UC_DBR_TRUST_VERSION_TOO_OLD] The Databricks Runtime being used no longer supports this operation. Please use the latest version (you may just need to restart your cluster).
โ05-05-2025 08:47 AM
Here are some things to consider/try:
ABORTED.UC_DBR_TRUST_VERSION_TOO_OLD
, generally indicates that the Databricks Runtime (DBR) version you are using no longer supports the operation, such as setting row filters or column masks. While Databricks Runtime 15.4 LTS and higher theoretically supports these features, there are some known limitations and additional requirements you should be aware of:ALTER TABLE ... SET MASK
or ALTER TABLE ... SET ROW FILTER
are only supported on specific compute clusters. Dedicated clusters (formerly single-user) might not support these operations unless serverless compute is enabled. These operations may work on Standard compute mode (shared clusters) or Serverless SQL Warehouses.ALTER TABLE
are another matter. Filtering Fleet currently supports only read operations (queries or append operations), and DDL commands are not yet fully supported for tables with row filters or column masks on certain cluster types.โ05-05-2025 08:47 AM
Here are some things to consider/try:
ABORTED.UC_DBR_TRUST_VERSION_TOO_OLD
, generally indicates that the Databricks Runtime (DBR) version you are using no longer supports the operation, such as setting row filters or column masks. While Databricks Runtime 15.4 LTS and higher theoretically supports these features, there are some known limitations and additional requirements you should be aware of:ALTER TABLE ... SET MASK
or ALTER TABLE ... SET ROW FILTER
are only supported on specific compute clusters. Dedicated clusters (formerly single-user) might not support these operations unless serverless compute is enabled. These operations may work on Standard compute mode (shared clusters) or Serverless SQL Warehouses.ALTER TABLE
are another matter. Filtering Fleet currently supports only read operations (queries or append operations), and DDL commands are not yet fully supported for tables with row filters or column masks on certain cluster types.Passionate about hosting events and connecting people? Help us grow a vibrant local communityโsign up today to get started!
Sign Up Now