Closed henriklaurentz closed 3 months ago
Hi @henriklaurentz !
Can you please clarify if the dbt run -s elementary
runs were executed on the same dbt profile as your production environment?
Because this should fix the issue (we indeed added a field to data_monitoring_metrics
)
Oh my sweet lawd, my apologies, that was very sloppy of me. At least staging is 100%+ upgraded :)
Thanks for the reply and have a nice evening!
Describe the bug All our anomaly checks are raising
column "metric_type" does not exist in data_monitoring_metrics
duringdbt test
after upgrading to dbt 0.16.0.To Reproduce Steps to reproduce the behavior:
1.Apply some "model level" tests
dbt test
Expected behavior That the anomaly tests runs simply successfully, as on former versions.
Screenshots The columns in
data_monitoring_metrics
, closest tometric_type
beingmetric_name
Environment (please complete the following information):
dbt run
+dbt test
ran from Airflow in k8s pod.Additional context To clarify,
dbt deps
+dbt run -s elementary
has been ran before runningdbt test
on version0.16.0
Would you be willing to contribute a fix for this issue? Not sure if that would be the most pragmatic approach :)