Currently I upgrade dbt elementary package version...
# community-support
b
Currently I upgrade dbt elementary package version from 0.7.3 to 0.14.0 I got an error when run dbt test for elementary anomalies test:
'''
08:19:43  Unhandled error while executing
Pass a string for project
08:19:43  4 of 26 ERROR elementary_source_table_anomalies_ileyshop_digdag_lobby_src_transaction_master_row_count  [ERROR in 0.41s]
'''
There are 3 infos: 1.If I downgrade to v0.13.1, it will not happen. 2.I don't change any config in dbt_project.yml. 3. If I add flag --target prod like :
dbt test --target prod
, the error will disappear and it will become
''' 08:41:26    on-run-end failed, error:
Column created_at is not present in table my_project.dbt_elementary.data_monitoring_metrics at [18:9]'''
Should I do any thing for upgrading to v0.14.0? Thanks my dbt_project.yml setting for elementary:
'''
models:
elementary:
+database: my_project
+schema: dbt_elementary
+enabled: "{{ (target.name == 'prod') | as_bool }}"
'''
➕ 2
✅ 1
o
Hey @Bruce Huang, did you run
dbt run -s elementary
after upgrading?
b
No So after running it will replace all previous table right?
o
no, it will just make sure that they have all the necessary columns
b
Got it. thanks