Alberto_Umana
Databricks Employee
Databricks Employee

Hi @PiotrM,

Currently, there is no specific setting to directly set a timeout for long-running queries on all-purpose clusters that are Unity Catalog (UC) enabled

As a workaround, you might consider implementing custom monitoring and termination logic within your application or scripts to detect and handle long-running queries. This could involve periodically checking the status of queries and terminating those that exceed a certain duration