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.

Joao_DE
New Contributor III

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

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!