cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Warehousing & Analytics
Engage in discussions on data warehousing, analytics, and BI solutions within the Databricks Community. Share insights, tips, and best practices for leveraging data for informed decision-making.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How to prevent users from scheduling SQL queries?

pauloquantile
New Contributor III

We have noticed that users can schedule SQL queries, but currently we haven't found a way to find these scheduled queries (this does not show up in the jobs workplane). Therefore, we don't know that people scheduled this. The only way is to look at the warehouse query histories, which is not the solution since it requires manual work.

In general, we would like to prevent these from happening. Therefore, we are looking for a solution to disable this or to get a notification once people start scheduling queries.

Does anyone got any ideas how to realise this?

1 REPLY 1

Anonymous
Not applicable

@Paulo Rijnbergโ€‹ :

In Databricks, you can use the following approaches to prevent users from scheduling SQL queries and to receive notifications when such queries are scheduled:

  1. Cluster-level permissions
  2. Jobs API
  3. Notification hooks
  4. Audit logs and monitoring

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