cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

As an admin of a Databricks SQL environment, can I cancel long running queries?

User16826992666
Valued Contributor

I don't want one long or poorly written query to block my entire SQL endpoint for everyone else. Do I have the ability to kill specific queries?

1 ACCEPTED SOLUTION

Accepted Solutions

Digan_Parikh
Valued Contributor

You can go to the query dashboard, find the query and stop the query. Another way is to restart the endpoint.

View solution in original post

2 REPLIES 2

Digan_Parikh
Valued Contributor

You can go to the query dashboard, find the query and stop the query. Another way is to restart the endpoint.

DevB
New Contributor II

Is there a way to stop the session programmatically? like "kill session_id" or something similar in API?

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.