-
Notifications
You must be signed in to change notification settings - Fork 41
/
dbt_project.yml
72 lines (59 loc) · 1.64 KB
/
dbt_project.yml
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
name: "re_data"
version: "0.12.0"
config-version: 2
require-dbt-version: [">=1.0.0", "<2.0.0"]
profile: "re_data_postgres"
target-path: "target" # directory which will store compiled SQL files
clean-targets: ["target", "dbt_modules", "dbt_packages"]
on-run-end:
- "{% if var('re_data:save_test_history') %} {{ re_data.save_test_history(results) }} {% endif %}"
vars:
re_data:max_columns_in_query: 10
re_data:time_window_end: '{{ run_started_at.strftime("%Y-%m-%d 00:00:00") }}'
re_data:time_window_start: '{{ (run_started_at - modules.datetime.timedelta(1)).strftime("%Y-%m-%d 00:00:00") }}'
re_data:anomaly_detection_look_back_days: 30
re_data:select: null
re_data:re_data_anomalies_filtered: re_data_anomalies
re_data:alerting_z_score: 3
re_data:save_test_history: false
re_data:show_warns_as_alerts: false
re_data:anomaly_detector:
name: modified_z_score
threshold: 3
re_data:store_table_samples: false
re_data:metrics_groups:
table_metrics:
table:
- row_count
- freshness
column_metrics:
column:
numeric:
- min
- max
- avg
- stddev
- variance
- nulls_count
- nulls_percent
text:
- min_length
- max_length
- avg_length
- nulls_count
- missing_count
- nulls_percent
- missing_percent
boolean:
- count_true
- count_false
- nulls_count
- nulls_percent
re_data:default_metrics:
- table_metrics
- column_metrics
models:
re_data:
+schema: re
internal:
+schema: re_internal