Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
danielvdende committed Sep 11, 2023
1 parent 7e13e6e commit b45d3f5
Showing 1 changed file with 12 additions and 26 deletions.
38 changes: 12 additions & 26 deletions dags/dbt/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,40 +6,26 @@ version: '1.0'

config-version: 2

# This setting configures which "profile" dbt uses for this project. Profiles contain
# database connection information, and should be configured in the ~/.dbt/profiles.yml file
profile: 'transactions'

# These configurations specify where dbt should look for different types of files.
# The `source-paths` config, for example, states that source models can be found
# in the "models/" directory. You probably won't need to change these!
model-paths: ["models"]
analysis-paths: ["analysis"]
test-paths: ["tests"]
seed-paths: ["data"]
macro-paths: ["macros"]

target-path: "target" # directory which will store compiled SQL files
clean-targets: # directories to be removed by `dbt clean`
target-path: "target"
clean-targets:
- "target"
- "dbt_modules"

# You can define configurations for models in the `source-paths` directory here.
# Using these configurations, you can enable or disable models, change how they
# are materialized, and more!

# In this example config, we tell dbt to build all models in the fffff-dbt/ directory
# as views (the default). These settings can be overridden in the individual model files
# using the `{{ config(...) }}` macro.
models:
bank_transactions:
# Applies to all files under models/base/
# TODO: These are not being picked up...
enriched_transactions:
+materialized: table
columns:
- name: payer_country
tests:
- not_null
filter_countries:
+materialized: table
#models:
# bank_transactions:
# enriched_transactions:
# +materialized: table
# columns:
# - name: payer_country
# tests:
# - not_null
# filter_countries:
# +materialized: table

0 comments on commit b45d3f5

Please sign in to comment.