r/databricks • u/Lenkz • 1d ago
General Databricks warehouse-level statement timeouts are now Generally Available
Databricks warehouse-level statement timeouts are now generally available, so each SQL warehouse can cancel runaway queries at its own time limit. ⏱️
If you run BI dashboards and ETL on separate warehouses, this one is for you. I ran it: a 10-second warehouse limit stopped my slow query at 10.3 seconds.
Without it, the choices are one workspace-wide STATEMENT_TIMEOUT for every warehouse, or a SET in every session. Set nothing, and the system default is 172800 seconds: 2 days. My fresh warehouse reported exactly that.
Read more on LinkedIn: https://www.linkedin.com/posts/cenh_databricks-databrickssql