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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
Anonymous
Not applicable

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
Anonymous
Not applicable

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.