-
Notifications
You must be signed in to change notification settings - Fork 0
/
dbt_project.yml
43 lines (35 loc) · 871 Bytes
/
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
name: 'dans-dbt-diary'
version: '1.0.0'
config-version: 2
profile: 'dans-dbt-diary'
model-paths: ["models"]
analysis-paths: ["analyses"]
test-paths: ["tests"]
seed-paths: ["seeds"]
macro-paths: ["macros"]
snapshot-paths: ["snapshots"]
# Hooks
on-run-start:
- "{{ create_udfs() }}"
on-run-end:
- "{{ grant_select_on_schemas(schemas) }}"
- "{{ grant_usage_on_udfs() }}"
vars:
shares:
- name: some_share
databases:
- ANALYTICS_DB
accounts:
- ABCDEFGHIJK
internal_domains: ('%joinlane%', '%vts%', '%applydigital%', '%star.global%', '%swmansion%', '%velocitylabs%')
# and not (user_email like any {{ var('internal_domains') | as_native }})
target-path: "target"
clean-targets:
- "target"
- "dbt_packages"
models:
dans-dbt-diary:
marts:
+materialized: table
staging:
+materialized: view