-
Notifications
You must be signed in to change notification settings - Fork 91
Expand file tree
/
Copy pathdbt_project.yml
More file actions
79 lines (69 loc) · 2.83 KB
/
dbt_project.yml
File metadata and controls
79 lines (69 loc) · 2.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# 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: 'dbt_project_evaluator_integration_tests'
version: '1.0.0'
config-version: 2
# This setting configures which "profile" dbt uses for this project.
profile: 'integration_tests'
# 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: ["analysis"]
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"
dispatch:
- macro_namespace: dbt
search_order: ['dbt_project_evaluator', 'dbt']
flags:
require_nested_cumulative_type_params: True
require_yaml_configuration_for_mf_time_spines: True
require_generic_test_arguments_property: True
require_ref_prefers_node_package_to_root: True
models:
dbt_project_evaluator_integration_tests:
# materialize as ephemeral to prevent the fake models from executing, but keep them enabled
+materialized: ephemeral
dbt_project_evaluator:
marts:
tests:
fct_test_coverage:
# materialize as a table to ensure SQL query runs successfully
+materialized: table
documentation:
fct_documentation_coverage:
# materialize as a table to ensure SQL query runs successfully
+materialized: table
tests:
dbt_project_evaluator:
+enabled: false
dbt_project_evaluator_integration_tests:
dbt_project_evaluator_schema_tests:
unique_int_all_dag_relationships_dpe_path:
# Grouping by expressions of type ARRAY is not allowed for BigQuery
+enabled: "{{ false if target.type in ['bigquery'] else true }}"
seeds:
dbt_project_evaluator:
dbt_project_evaluator_exceptions:
+enabled: false
vars:
# Set to true when running with dbt Fusion to disable tests that are not compatible
deactivate_for_fusion: false
# ensure integration tests run successfully when there are 0 of a given model type (extra)
exclude_packages: ['exclude_package']
exclude_paths_from_project: ["/to_exclude/","source_3.table_6","/dbt_project_evaluator_schema_tests/"]
model_types: ['base','staging', 'intermediate', 'marts', 'other', 'extra', 'new_model_type']
# dummy variable used for testing fct_hard_coded_references
my_table_reference: 'grace_table'
new_model_type_folder_name: 'my_new_models'
new_model_type_prefixes: 'nwmdl_'
insert_batch_size: 100
too_many_joins_threshold: 3
chained_views_threshold: 2