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

Getting a dbt_macro__create_schema takes no keyword argument 'relation' compilation error #16

Open adrikosm opened 1 year ago

adrikosm commented 1 year ago

We have been using the dbt data quality package without any issues up until now. When we run a dbt build or test command with the addition of --store-failures flag i get the : macro 'dbt_macro__create_schema' takes no keyword argument 'relation' error. What we have found out is that you have a macro called create_schema which takes dry_run (boolean) as an argument while dbt's own create schema macro takes relation as an argument thus generating the error.