diff --git a/dbt_project.yml b/dbt_project.yml index 316286e..4b7ea37 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -31,6 +31,10 @@ quoting: identifier: true schema: true # translates to gcp dataset +vars: + data_diff: + datasource_id: 6575 + seeds: jaffle_shop: # you must include the project name # +project: lumpy-space-prince # if you want to create a model in a separate project diff --git a/profiles.yml b/profiles.yml index 7a09028..fa9bfd9 100644 --- a/profiles.yml +++ b/profiles.yml @@ -9,7 +9,7 @@ jaffle_shop: type: bigquery method: service-account # for production runs: https://docs.getdbt.com/docs/profile-bigquery#section-service-account-file-authentication project: "{{ env_var('PROJECT_ID', 'dbt-demo-386220') }}" # parameterize project for dbt runs based on environment variable with default project - dataset: dbt_sung # You can also use "schema" here + dataset: "{{ env_var('SCHEMA_OVERRIDE', 'dbt_sung') }}" # You can also use "schema" here threads: 24 # https://docs.getdbt.com/docs/configure-your-profile#section-understanding-threads keyfile: "{{ env_var('GOOGLE_APPLICATION_CREDENTIALS', 'service_account.json') }}" timeout_seconds: 300 diff --git a/requirements.txt b/requirements.txt index 856690a..e7e34f5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ -dbt-bigquery==1.6.5 \ No newline at end of file +dbt-bigquery==1.6.5 +data-diff==0.8.4 \ No newline at end of file