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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors