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
Describe the bug
Superset data models referencing Snowflake tables with ARRAY columns fail to ingest, raising an error
metadata.Ingestion [metadata_rest.py:147] Failed to ingest CreateDashboardDataModelRequest [9] due to api request failure: For column data type array, arrayDataType must not be null
To Reproduce
create a snowflake table with a column with ARRAY datatype
create a superset data model for this table
create a chart that uses this data model
create a dashboard that uses this chart
run a superset ingest
Expected behavior
Ingestion should proceed successfully. Arrays should either not require column data types, or the correct type should be inferred from the data source.
Affected module
Ingestion
Describe the bug
Superset data models referencing Snowflake tables with
ARRAY
columns fail to ingest, raising an errormetadata.Ingestion [metadata_rest.py:147] Failed to ingest CreateDashboardDataModelRequest [9] due to api request failure: For column data type array, arrayDataType must not be null
To Reproduce
ARRAY
datatypeExpected behavior
Ingestion should proceed successfully. Arrays should either not require column data types, or the correct type should be inferred from the data source.
In Snowflake,
ARRAY
columns always containVARIANT
items https://docs.snowflake.com/en/sql-reference/data-types-semistructured#characteristics-of-an-arrayVersion:
Additional context
https://docs.snowflake.com/en/sql-reference/data-types-semistructured#characteristics-of-an-array
The text was updated successfully, but these errors were encountered: