Hi ,
We want to set auto termination for long running queries in data bricks adhoc cluster.
I attempted below two approaches in my notebook. Despite my understanding that queries should automatically terminate after one hour, with both the approaches queries exceeded this timeout limit and kept running
Approache 1:
SET spark.databricks.queryWatchdog.enabled=true;
SET spark.databricks.queryWatchdog.timeout=3600;
Approache 2:
SET STATEMENT_TIMEOUT = 3600;
Please suggest what wrong am i doing here?