memsql / dbt-singlestore

Apache License 2.0
7 stars 8 forks source link

Changing a column's data type in a model with "sync all columns" enabled errors during incremental materialization #7

Closed kannan-aravind-1 closed 2 years ago

kannan-aravind-1 commented 2 years ago

This is due to dbt's handling of column data type changes in incremental materialization. Below is the macro that handles this and we need a singlestore specific macro. Highlighted the line that needs to be changed for singlestore.

image