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
StringType comparison behavior changes in versions > 1.20.0
SNOW-1917480: StringType comparison behavior changes in versions > 1.20.0
Feb 7, 2025
This is an intended change with how StringType objects work after in >= v1.21.0.
By default StringType() is assumed to be a max length string. In versions <= v1.20.0 StringType(length=16777216) was also assumed to be a max length string, but that has since become incorrect depending on the server side configuration. If you'd like to assume that it is still you can do something like this:
Please answer these questions before submitting your issue. Thanks!
What version of Python are you using?
Python 3.11.9 (main, Sep 20 2024, 13:40:49) [Clang 16.0.0 (clang-1600.0.26.3)]
What operating system and processor architecture are you using?
macOS-14.7.1-arm64-arm-64bit
What are the component versions in the environment (
pip freeze
)?Issue working in:
snowflake-connector-python==3.13.2
snowflake-snowpark-python==1.20.0
Issue not working in:
snowflake-connector-python==3.13.2
snowflake-snowpark-python==1.21.0
What did you do?
What did you expect to see?
The test to pass in > v1.20.0
The text was updated successfully, but these errors were encountered: