Anonymous
Not applicable

Hi @Tássio Santos​ 

The delta table performs schema validation of every column, and the source dataframe column data types must match the column data types in the target table. If they don’t match, an exception is raised.

For reference-

https://docs.databricks.com/delta/delta-batch.html#schema-validation-1

you can cast the column explicitly before writing it to target table to avoid this

View solution in original post