Tuesday
Facing below error while accessing a table with mutiple row filters but i am not able to delete the row filter using SQL query. Please help
Failed to request /ajax-api/2.1/unity-catalog/tables/product_return_prediction_dev.bronze.customers_data?include_browse=true: 400 Evaluation of ABAC policies on 'product_return_prediction_dev.bronze.customers_data' resulted in multiple row filters. At most one row filter is allowed.
Tuesday
Hi What happens when you remove the row filter? Are you using drop or alter table?
Make sure you have access to the catalog , schema and table plus permissions to manage row filters on unity catalog!
Tuesday
Hi @vamsi_simbus ,
This is due to following beta limitation of ABAC.
Unity Catalog attribute-based access control (ABAC) | Databricks on AWS
To make it work you need to remove additional rows filters using i.e following clause:
ALTER TABLE <table_name> DROP ROW FILTER;
Tuesday
Tuesday - last edited Tuesday
Did you try deleting the policy?
Tuesday
Tuesday - last edited Tuesday
Hi @vamsi_simbus ,
Try to use rest api to delete policy. Once you do that, delete additional row filters and once again create ABAC policy.
Delete an ABAC policy | ABAC Policies API | REST API reference | Databricks on AWS
Or try to drop it using SQL;
DROP POLICY <policy_name> ON <securable_type> <securable_name>
If you can't - ask your admin to execute above command for you
Tuesday
below query worked for me
Tuesday
Great news, now if you want to use ABAC once again you need to delete additional filter rows. Currently supports only 1 filter as I showed you in my reply above.
Passionate about hosting events and connecting people? Help us grow a vibrant local communityโsign up today to get started!
Sign Up Now