When customer use async mode for query execution (async mode on JDBC driver) and he has ABORT_DETACHED_QUERY parameters set to true, then long running queries (longer than 5 minutes) being cancelled.
The current fix is to set session parameter to override user/account level parameter setting, while we still want to allow customer to pass desired value to options of spark read.
When customer use async mode for query execution (async mode on JDBC driver) and he has ABORT_DETACHED_QUERY parameters set to true, then long running queries (longer than 5 minutes) being cancelled.
For more details, please take a look on https://docs.snowflake.com/en/sql-reference/parameters#abort-detached-query.
The current fix is to set session parameter to override user/account level parameter setting, while we still want to allow customer to pass desired value to options of spark read.