[Bug] Incremental failed for on_schema_change "sync_all_columns" when there's only a type change. #319
Labels
triage:awaiting-response
Awaiting a response from the reporter
type:bug
Something isn't working as documented
Is this a new bug?
Current Behavior
For incremental model config:
This fails when a column type changes. Following the logic here:
dbt-adapters/dbt/include/global_project/macros/adapters/columns.sql
Line 89 in b414668
in step 2, DBT is trying to copy data with an old type to a temporary column with a new type.
Expected Behavior
It's hard to decide what to do in this case:
Here a few options I can think of:
Steps To Reproduce
Relevant log output
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: