Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
vapid128
Solution Specialist
Solution Specialist

How to get running query from lakehouse Endpoint and Kill it

I am setting up a lakehouse. I found that during synchronization from Lakehouse to Endpoint, there are unfinished endpoint queries. If certain deletion commands are executed in the Lakehouse at this time, these queries may get stuck for hours. During this period, all synchronizations from lakehouse to endpoint will fail.

So I am looking for APIs to find and kill all queries running on the endpoint.

 

Thank you

 

1 ACCEPTED SOLUTION
v-rzhou-msft
Community Support
Community Support

Hi @vapid128 ,

 

According to your statement, I think you tried to delete data from Lakehouse when it is queried from SQL Endpoint.
Normally we wait for the previous process to complete before making changes to the data source. You are making changes to the data source in the middle of the last process duration, an action that is not recommended.

This operation will cause conflict and error, like stuck or query failure. It is better to do operation after query successful.

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

1 REPLY 1
v-rzhou-msft
Community Support
Community Support

Hi @vapid128 ,

 

According to your statement, I think you tried to delete data from Lakehouse when it is queried from SQL Endpoint.
Normally we wait for the previous process to complete before making changes to the data source. You are making changes to the data source in the middle of the last process duration, an action that is not recommended.

This operation will cause conflict and error, like stuck or query failure. It is better to do operation after query successful.

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.