You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgraded the package from 2.3.0 to 2.7.0
When I run the dbt run -s dbt_artifacts, the source tables don't include the new fields defined in the source models (e.g. ADAPTER_RESPONSE).
It seems like the incremental materialization is not using on_schema_change. When I look in the dbt_project.yml of the package, the on_schema_change configuration is not there, thus ignoring the new columns.
To fix this, I had to manually change the materialization to table, run dbt run -s dbt_artifacts, then put it back.
How to reproduce
Install a prior version of the package without new fields in the source tables.
Generate the source tables
Upgrade to a newer version of the package which includes new fields
Try to run dbt run -s dbt_artifacts
Expected behaviour
I would expect that the incremental configuration adds the new columns to the sources.
Screenshots
Environment
Core:
- installed: 1.8.8
- latest: 1.8.9 - Update available!
Your version of dbt-core is out of date!
You can find instructions for upgrading here:
https://docs.getdbt.com/docs/installation
Plugins:
- snowflake: 1.8.4 - Up to date!
Please paste the contents of your packages.yml file here:
Overview
Upgraded the package from 2.3.0 to 2.7.0
When I run the
dbt run -s dbt_artifacts
, the source tables don't include the new fields defined in the source models (e.g. ADAPTER_RESPONSE).It seems like the
incremental
materialization is not usingon_schema_change
. When I look in the dbt_project.yml of the package, theon_schema_change
configuration is not there, thus ignoring the new columns.To fix this, I had to manually change the
materialization
totable
, rundbt run -s dbt_artifacts
, then put it back.How to reproduce
dbt run -s dbt_artifacts
Expected behaviour
I would expect that the incremental configuration adds the new columns to the sources.
Screenshots
Environment
Please paste the contents of your
packages.yml
file here:The text was updated successfully, but these errors were encountered: