11-29-2024 01:38 AM
Hello!
According to Databricks documentation on azure :
"On Databricks Runtime 15.3 and below, fine-grained access control on single user compute is not supported. Specifically:
Well, I am using DBR 15.4 LTS and getting the following error message when running an optimize job (OPTIMIZE table name) on some tables that have a row filter:
Py4JJavaError: An error occurred while calling o388.sql. : java.util.concurrent.ExecutionException: com.databricks.sql.managedcatalog.UnityCatalogServiceException: [RequestId=d5be0519-**** ErrorClass=INVALID_PARAMETER_VALUE.ROW_COLUMN_ACCESS_POLICIES_NOT_SUPPORTED_ON_ASSIGNED_CLUSTERS] Query on table **** with row filter or column mask not supported on assigned clusters.
This is my job cluster configuration:
Can you please help me figure out when could possible cause such an error ?
Thanks a lot!
11-29-2024 04:14 AM
@Nes_Hdr Do you have Serverless enabled for your workspace?
12-02-2024 01:38 AM
@MuthuLakshmi Thank you very much for the reply!
Yes, I have serverless compute enabled on the workspace, but the cluster I am using is not serverless.
The error happens whenever access mode is "Single user" (see pictures below). It also happens when using DBR 16.
12-05-2024 12:42 AM
Can someone from Databricks check this out?
I am still confused why this doesn't work as it should.
12-10-2024 12:21 AM
Hello,
We have the same issue. Please, any solution?
12-10-2024 01:31 AM
Hello @Nes_Hdr ,
Do you have activated "serverless compute for workflows...." in the Databricks account?
12-11-2024 01:16 AM
12-11-2024 01:23 AM
Hi, then I don´t know what more we can do for fix this.
Please "Databricks" help
12-11-2024 01:36 AM
@Nes_Hdr Does this OPTIMIZE works for some tables with row filter and fail for some?
Or did it never work in Single user?
12-11-2024 01:58 AM
@MuthuLakshmi it never worked on any table with a row filter using a Single user access mode cluster. The same query succeeds using a shared cluster.
The problem is reproducible, you would just need to create a table and apply a row filter function on it, then try to run Optimize table_name using a single user cluser (using DBR 15.4, and serverless is enabled in the workspace) ...
12-11-2024 02:38 AM
@Nes_Hdr Single user compute uses fine-grained access control to access the tables with RLS/CLM enabled.
There is no specific details about OPTIMIZE being supported in Single user mode.
Under this doc limitations of FGAC mentions that
"No support for write or refresh table operations on tables that have row filters or column masks applied.
Specifically, DML operations, such as INSERT,
DELETE
, UPDATE
, REFRESH TABLE
, and MERGE
, are not supported. You can only read (SELECT
) from these tables."
https://docs.databricks.com/en/compute/single-user-fgac.html
01-29-2025 02:55 AM
Hello,
And would be possible to do a "saveAsTable" with a table tha have column mask applied?
Thanks and regards
01-30-2025 03:00 AM
@MuthuLakshmi , please any news about this?
Thanks
Thursday
@arzb @Nes_Hdr Command support for FGAC on dedicated compute was added in DBR 17.1: https://docs.databricks.com/aws/en/compute/single-user-fgac#support-for-ddl-show-describe-and-other-... 🎉
Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!
Sign Up Now