databricks-demos / dbdemos

Demos to implement your Databricks Lakehouse
Other
255 stars 80 forks source link

uc-01-acl Error when trying to ser row and column level access controls #68

Closed PooyanGoodlabs closed 8 months ago

PooyanGoodlabs commented 10 months ago

For the "uc-01-acl" I'm facing the following error when trying to use ALTER TABLE SET ROW FILTER or ALTER TABLE ALTER COLUMN SET MASK

ErrorClass=NOT_IMPLEMENTED.NOT_IMPLEMENTED] The UpdateTable row and column access policy operation is not currently implemented.

I have set up the demo on an interactive cluster(DBR 13.3 LTS) which is connected to UC, Catalog and schema and tables are successfully created but it seems the Row/Column level access controls are not enabled for the workspace. I'm using a pre-existing workspace/cluster.

QuentinAmbard commented 10 months ago

Hi @PooyanGoodlabs , I believe this is still a preview feature - pretty sure it'll go in public preview shortly :/

charlesb commented 9 months ago

Hi @QuentinAmbard, is there any Databricks Spark parameter we could use to enable this feature by any chance? :) (e.g. spark.databricks.rls.preview.enabled true)

QuentinAmbard commented 9 months ago

ah I wish I could share something simple like this ! Best thing to do is to ping your account team to be added to the preview. think it's almost ready now, they delayed it a bit to improve the API I believe but it should be available soon

QuentinAmbard commented 8 months ago

Hey @charlesb , this is now public preview, closing this :)