dbt-meshify icon indicating copy to clipboard operation
dbt-meshify copied to clipboard

handle `on_schema_change` for incrementals with contracts

Open dave-connors-3 opened this issue 1 year ago • 1 comments

Incremental models with contracts must have the on_schema_change config set to append_new_columns. This will need to be a conditional piece of logic in the add-contract command.

Options

  1. add it to the model yml entry blindly
  2. be more creative and find where the config is set from and override apropriately.

1 feels good short ter, 2 feels right long term!

dave-connors-3 avatar May 30 '23 20:05 dave-connors-3