2 weeks ago
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."
2 weeks ago
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
2 weeks ago
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
2 weeks ago
Is the notebook pointing to an SQL warehouse or it is pointing to an all purpose cluster or serverless compute?
2 weeks ago
serverless compute SQL
2 weeks ago
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?
Monday
Monday
Yes, this global config only applies to Serverless SQL Warehouses, but wont apply if you use serverless compute for notebooks
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโt want to miss the chance to attend and share knowledge.
If there isnโt a group near you, start one and help create a community that brings people together.
Request a New Group