cancel
Showing results for 
Search instead for 
Did you mean: 
Community Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results for 
Search instead for 
Did you mean: 

Insufficient privileges error when running query from Notebook

WWoman
New Contributor III

Hello all,

 

I am running into a permission issue when running a simple MERGE INTO query from a Notebook: " AnalysisException: [INSUFFICIENT_PERMISSIONS] Insufficient privileges: User does not have USE SCHEMA on Schema 'system.query'."

I can run the query interactively through the SQL Editor with no errors. What am I missing here?

2 REPLIES 2

WWoman
New Contributor III

On a related note... I am not seeing my notebook queries in the query history interface. I was trying to confirm that the queries run from the notebook would run with my user id, but I don't see these queries at all.

mhiltner
New Contributor III
New Contributor III

Are you using an all purpose cluster or a SQL warehouse to run this query in the notebook?

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!