-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdbt_project.yml
52 lines (48 loc) · 1.5 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
name: 'dbt_pilotage'
version: '1.0.0'
config-version: 2
profile: 'dbt_pilotage'
model-paths: ["dbt/models"]
analysis-paths: ["dbt/analyses"]
test-paths: ["dbt/tests"]
seed-paths: ["dbt/seeds"]
macro-paths: ["dbt/macros"]
snapshot-paths: ["dbt/snapshots"]
packages-install-path: "dbt/packages"
models:
dbt_pilotage:
# FIXME(vperron): this is an attempt to avoid having the DB owner name leaking into
# the documentation. Unfortunately it just adds *another* owner and the credentials are still there :/
# There are three possible solutions to this:
# - add a GH action upon merge in master to regenerate the docs, using the dummy GH database.
# Problem: no tables are there yet, so no introspection will be possible. We could add some but it's a lot of work.
# - edit the "catalog.json" immediately avec the "dbt docs generate" : at least this is very certain.
# - wait for a patch in DBT 1.5 or 1.6
#
# We will settle for option 2 which is the easiest and quickest by far.
+meta:
owner: Equipe Pilotage
ephemeral:
+materialized: ephemeral
indexed:
+materialized: table
legacy:
+materialized: table
marts:
+materialized: table
staging:
+materialized: view
monrecap:
+schema: monrecap
marts:
+materialized: table
staging:
+materialized: view
seeds:
dbt_pilotage:
sa_ept:
+column_types:
departement: varchar(3)
code_comm: varchar(25)
monrecap:
+schema: monrecap