โ11-15-2022 07:51 AM
Is there api call to set "Table access control" workspace config ?
โ08-16-2023 10:23 PM
Hi Kaniz,
Unfortunately the databricks is deployed and configured via DevOps (BICEP & Powershell scripts), so the UI is not an option. That's something the Databricks team should address
We would like to use table acl to be able to share different views to different teams.
They will be using an SQL Warehouse and PowerBI to connect to the data.
Unfortunately I can't find an option where we can change the spark config for an SQL Warehouse.
We are considering moving to the Unity Catalog where table ACL on the workspace isn't an issue.
But having some issues with the Infra team to get them convinced ๐
Regards,
Sven
โ11-15-2022 04:06 PM
@Govind Narainโ can you try below api
curl --location --request PATCH 'https://test.cloud.databricks.com/api/2.0/workspace-conf' \
--header 'Authorization: Bearer REPLACE_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"enableTableAccessControl": "true"
}'
for reference go through below one of the discussions posted previously Can Terraform be used to set configurations in Admin / workspace settings? (databricks.com)
โ11-21-2022 01:36 PM
Hi Karthik,
It did not work. The error I am getting is that it is an invalid key.
โ05-23-2023 03:31 AM
Hi @karthik pโ I am facing the same issue as @Govind Narainโ. Do you have any reference to the different keys that are supported by this API? Thanks!
โ05-30-2023 09:25 AM
@Diogo Pintoโ did you cheked workspace id that u added in patch url is correct and also any spaces to generated token @Govind Narainโ
โ08-01-2023 12:59 AM
Faciing the same issue, tried to fetch the current value via /api/2.0/workspace-conf?keys=enableTableAccessControl
Unfortunately this is returning a 400
โ08-16-2023 05:14 AM
Hi Kaniz,
I tried this on our Databricks hosted on Azure
Result
{
"error_code": "BAD_REQUEST",
"message": "Invalid keys: [\"workspaceAccessControlEnabled\"]"
}
โ08-16-2023 10:23 PM
Hi Kaniz,
Unfortunately the databricks is deployed and configured via DevOps (BICEP & Powershell scripts), so the UI is not an option. That's something the Databricks team should address
We would like to use table acl to be able to share different views to different teams.
They will be using an SQL Warehouse and PowerBI to connect to the data.
Unfortunately I can't find an option where we can change the spark config for an SQL Warehouse.
We are considering moving to the Unity Catalog where table ACL on the workspace isn't an issue.
But having some issues with the Infra team to get them convinced ๐
Regards,
Sven
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโt want to miss the chance to attend and share knowledge.
If there isnโt a group near you, start one and help create a community that brings people together.
Request a New Group