Skip to content

Commit

Permalink
Sessions should stay open even if snowflake is idle for hours
Browse files Browse the repository at this point in the history
  • Loading branch information
visch authored Oct 10, 2024
1 parent 04ce79f commit bc67060
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions target_snowflake/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ def create_engine(self) -> Engine:
connect_args = {
"session_parameters": {
"QUOTED_IDENTIFIERS_IGNORE_CASE": "TRUE",
"client_session_keep_alive": "TRUE", # See https://github.com/snowflakedb/snowflake-connector-python/issues/218
},
}
if self.auth_method == SnowflakeAuthMethod.KEY_PAIR:
Expand Down

0 comments on commit bc67060

Please sign in to comment.