Divergent-Insights / dbt-dataquality

Creates simple data models on Snowflake to report dbt source freshness and tests
Apache License 2.0
22 stars 7 forks source link

dbt utils migration #13

Open SorinSV opened 1 year ago

SorinSV commented 1 year ago

dbt utils was upgraded to 1.0.0 ((https://docs.getdbt.com/guides/migration/versions/upgrading-to-dbt-utils-v1.0)

To avoid version conflicts when trying to install both dbt utils v1 and Divergent-Insights/dbt_dataquality, I suggest upgrading dbt utils for this project. (maybe use version: [">=1.0.0" , "<1.1.0"] )

Only thing to be considered is that surrogate_key() was replaced by generate_surrogate_key() (the newer version also treats nulls), so the following models should be updated:

models/sources/raw_source_freshness.sql models/tests/raw_tests.sql

SorinSV commented 1 year ago

nice job! let's hope PR get's approved asap