cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

GRANT PRIVILEGES or REVOKE not working in databricks: Operation not allowed

Joao_DE
New Contributor III

Hi everyone!

I am having a problem! I can Grant or Revoke privileges from users using the UI on databricks, but when I try to do that using SQL commands such as GRANT SELECT ON SCHEMA [... ] TO [USER]; I get an error stating Operation not allowed.

I am the owner of the schema and I am also an adm.

Thanks for your help in advance!

2 REPLIES 2

Ajay-Pandey
Esteemed Contributor III

Hi @João Peixoto​ In my case, it's working fine, I am able to grant and revoke the access by using spark SQL.

Ajay Kumar Pandey

Joao_DE
New Contributor III

Its solved, the problem was I was using '' insted of ``

Connect with Databricks Users in Your Area

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