# Name your project! Project names should contain only lowercase characters # and underscores. A good package name should reflect your organization's # name or the intended use of these models name: 'cief_dbt_cloud' version: '1.0.0' config-version: 2 # This setting configures which "profile" dbt uses for this project. profile: 'default' # These configurations specify where dbt should look for different types of files. # The `source-paths` config, for example, states that models in this project can be # found in the "models/" directory. You probably won't need to change these! model-paths: ["models"] analysis-paths: ["analyses"] test-paths: ["tests"] seed-paths: ["seeds"] macro-paths: ["macros"] snapshot-paths: ["snapshots"] target-path: "target" # directory which will store compiled SQL files clean-targets: # directories to be removed by `dbt clean` - "target" - "dbt_packages" # Configuring models # Full documentation: https://docs.getdbt.com/docs/configuring-models # In this example config, we tell dbt to build all models in the example/ directory # as tables. These settings can be overridden in the individual model files # using the `{{ config(...) }}` macro. models: cief_dbt_cloud: staging: +tags: - staging crisp: +materialized: view +schema: crisp__staging +tags: - crisp base: +materialized: view +schema: crisp__base exchange: +materialized: view +schema: exchange__staging +tags: - exchange base: +materialized: view +schema: exchange__base googlesheet: +materialized: view +schema: googlesheet__stagting base: +materialized: view +schema: googlesheet__base shipping: +materialized: view +schema: shipping__staging +tags: - shipping base: +materialized: view +schema: shipping__base intermediate: +materialized: ephemeral +schema: intermediate +tags: - intermediate marts: +tags: - marts warehouse: +materialized: table +schema: warehouse +tags: - warehouse reporting: +materialized: table +schema: reporting +tags: - reporting seeds: cief_dbt_cloud: exchange: +schema: exchange__seeds shipping: +schema: shipping__seeds crisp: +schema: crisp__seeds snapshots: cief_dbt_cloud: exchange: +target_schema: "{% if target.name == 'prod' %}PROD_EXCHANGE__SNAPSHOTS{% else %}{{ target.schema }}_EXCHANGE__SNAPSHOTS{% endif %}" shipping: +target_schema: "{% if target.name == 'prod' %}PROD_SHIPPING__SNAPSHOTS{% else %}{{ target.schema }}_SHIPPING__SNAPSHOTS{% endif %}" crisp: +target_schema: "{% if target.name == 'prod' %}PROD_CRISP__SNAPSHOTS{% else %}{{ target.schema }}_CRISP__SNAPSHOTS{% endif %}" tests: +severity: warn vars: mask_data_pattern: "('*MASK*', '****')" mask_data_pattern_for_udf: "[*MASK*, ****]"