12-18-2024 06:30 AM
How can I block the use of statement_timeout at the session level in Databricks? I want the global parameter to be enforced even if a SET statement_timeout has been executed in Databricks notebooks."
12-18-2024 06:47 AM
To set a workspace-level timeout, go to the workspace admin settings, click Compute, then click Manage next to SQL warehouses. In the SQL Configuration Parameters setting, add a configuration parameter where the timeout value is in seconds.
https://docs.databricks.com/ja/sql/language-manual/parameters/statement_timeout.html
12-18-2024 12:26 PM
I did this, but when a user uses the set statement_timeout command in their own Databricks notebook, the query exceeds the time determined by the global parameter
12-18-2024 12:30 PM
Is the notebook pointing to an SQL warehouse or it is pointing to an all purpose cluster or serverless compute?
12-18-2024 12:33 PM
serverless compute SQL
12-18-2024 01:08 PM
To revalidate this, are you using Serverless SQL Warehouse or Serverless Compute which are different? Can you share an screenshot of the compute being used to make sure we are aligned?
12-30-2024 11:24 AM
12-30-2024 01:24 PM
Yes, this global config only applies to Serverless SQL Warehouses, but wont apply if you use serverless compute for notebooks
Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!
Sign Up Now