[Bug] Support Vector data types for macro snowflake__get_columns_in_relation
#1098
Open
2 tasks done
Labels
Is this a new bug in dbt-snowflake?
Current Behavior
When trying to run an incremental load referencing a table that has a column that is cast as a VECTOR data type, I get the following error:
Could not interpret data_type "VECTOR(FLOAT, 1536)": could not convert "FLOAT" to an integer
This appears to be due to the
from_description
Column function here expecting only integers within parenthesis.Expected Behavior
Expected column data type to be properly parsed and reproduced in the incremental table.
Steps To Reproduce
do
dbt run
on a model that has an incremental load materialization and has a column that is the VECTOR data typeRelevant log output
Environment
Additional Context
suspected cause of the issue:
https://github.com/dbt-labs/dbt-snowflake/blob/2576a08379e248d393b9a698e58fac0d32c23648/dbt/include/snowflake/macros/adapters.sql
https://github.com/dbt-labs/dbt-adapters/blob/main/dbt/adapters/base/column.py#L130
The text was updated successfully, but these errors were encountered: