Skip to content

Commit

Permalink
when columns removed for an incremental model (#5978)
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 authored Nov 7, 2024
2 parents 7518352 + af54a24 commit d2dc89a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/docs/build/incremental-models.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,11 @@ Currently, `on_schema_change` only tracks top-level column changes. It does not

### Default behavior

This is the behavior if `on_schema_change: ignore`, which is set by default, and on older versions of dbt.
This is the behavior of `on_schema_change: ignore`, which is set by default.

If you add a column to your incremental model, and execute a `dbt run`, this column will _not_ appear in your target table.

Similarly, if you remove a column from your incremental model, and execute a `dbt run`, this column will _not_ be removed from your target table.
If you remove a column from your incremental model and execute a `dbt run`, `dbt run` will fail.

Instead, whenever the logic of your incremental changes, execute a full-refresh run of both your incremental model and any downstream models.

Expand Down

0 comments on commit d2dc89a

Please sign in to comment.