Medium severitydata flow
Power BI Refresh Error:
DF-Snowflake-IncompatibleDataType
What does this error mean?
A column in the data flow has a data type that cannot be converted to or from the Snowflake type for that column.
Common causes
- 1A derived column or transformation produces a complex type (struct, array, map) that cannot be written to Snowflake's flat column types
- 2The Snowflake dataset schema was imported with one data type and the source has since changed to a different, incompatible type
- 3A Snowflake VARIANT column is being mapped to a non-string ADF column type without an explicit cast
- 4A timestamp with timezone in Snowflake is being mapped to a plain timestamp column in ADF without timezone handling
How to fix it
- 1In ADF Monitor, open the failed activity run and read the error detail — it identifies the column name and the incompatible type pair.
- 2In ADF Studio, open the data flow and find the transformation that produces the problematic column.
- 3Add a derived column transformation before the Snowflake sink to cast the column to a compatible type — for example: `toString(complexColumn)` to serialize a complex type to a string.
- 4For Snowflake VARIANT columns, cast the ADF column to string explicitly using `toString()` before writing — Snowflake will parse the JSON/semi-structured string automatically.
- 5Re-import the Snowflake dataset schema if the source schema changed and the dataset is out of date.
- 6Enable data flow debug mode to run a row preview and confirm the cast produces the expected output before the full run.
Frequently asked questions
Official documentation: https://learn.microsoft.com/en-us/azure/data-factory/data-flow-troubleshoot-guide