Skip to content

Commit bc67060

Browse files
authored
Sessions should stay open even if snowflake is idle for hours
1 parent 04ce79f commit bc67060

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: target_snowflake/connector.py

+1
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ def create_engine(self) -> Engine:
217217
connect_args = {
218218
"session_parameters": {
219219
"QUOTED_IDENTIFIERS_IGNORE_CASE": "TRUE",
220+
"client_session_keep_alive": "TRUE", # See https://github.com/snowflakedb/snowflake-connector-python/issues/218
220221
},
221222
}
222223
if self.auth_method == SnowflakeAuthMethod.KEY_PAIR:

0 commit comments

Comments
 (0)