You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actionsbot
changed the title
Typed connection URL query parameters get converted to strings
SNOW-912318: Typed connection URL query parameters get converted to strings
Sep 11, 2023
This is specifically about other types rather than just booleans - there are also integers and even functions that can be sent to the driver that wouldn't work with snowflake-sqlalchemy.
Please answer these questions before submitting your issue. Thanks!
What version of Python are you using?
Python 3.8.16 (default, Feb 6 2023, 12:05:53)
[GCC 12.2.1 20230111]
What operating system and processor architecture are you using?
Linux-6.1.38-1-MANJARO-x86_64-with-glibc2.34
What are the component versions in the environment (
pip freeze
)?What did you do?
Passed a non-string snowflake-connector parameter through the URL query parameters - see SNOW-892284: Boolean URL connection parameters are passed down to the driver as strings #438 for booleans specifically and SNOW-892284: Fix boolean parameter parsing from URL query #439 for the fix for them, though not other types. Parameters like
converter_class
will still get set incorrectly, causing errors or weird behaviour.What did you expect to see?
Parameters passed through the URL class should allow passing all python-connector variables through as they are.
Can you set logging to DEBUG and collect the logs?
See SNOW-892284: Boolean URL connection parameters are passed down to the driver as strings #438.
The text was updated successfully, but these errors were encountered: