diff --git a/src/snowflake/sqlalchemy/snowdialect.py b/src/snowflake/sqlalchemy/snowdialect.py index ecc0f287..fa492509 100644 --- a/src/snowflake/sqlalchemy/snowdialect.py +++ b/src/snowflake/sqlalchemy/snowdialect.py @@ -234,7 +234,12 @@ def create_connect_args(self, url: URL): ) for name, value in query.items(): - (_, expected_type) = DEFAULT_CONFIGURATION[name] + maybe_type_configuration = DEFAULT_CONFIGURATION.get(name) + if not maybe_type_configuration: + opts[name] = value + continue + + (_, expected_type) = maybe_type_configuration if not isinstance(expected_type, tuple): expected_type = (expected_type,)