SNOW-1871582: Array support broken in 1.7.2 #567
Labels
bug
Something isn't working
status-triage_done
Initial triage done, will be further handled by the driver team
What version of Python are you using? 3.12
What operating system and processor architecture are you using? osx-arm64
What are the component versions in the environment (
pip freeze
)?snowflake-sqlalchemy 1.7.2 and sqlalchemy 1.X
What did you do? Compile a "create table" statement for a table that contains a column with "array" type.
What did you expect to see? No exception. Instead, there was an exception.
To reproduce:
This worked for snowflake-sqlalchemy 1.7.1 without raising an exception.
For snowflake-sqlalchemy 1.7.2, this results in an exception
AttributeError: 'ARRAY' object has no attribute 'is_semi_structured'
pointing to this line as the culprit of the attribute error:snowflake-sqlalchemy/src/snowflake/sqlalchemy/base.py
Line 1099 in 115da35
This code was introduced in #560 .
The text was updated successfully, but these errors were encountered: