-
Notifications
You must be signed in to change notification settings - Fork 1
/
meltano.yml
53 lines (52 loc) · 1.21 KB
/
meltano.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
version: 1
default_environment: dev
plugins:
extractors:
- name: tap-csv
variant: meltanolabs
pip_url: git+https://github.com/MeltanoLabs/tap-csv.git
config:
files:
- entity: customers
path: data/customers.csv
keys: [id]
- entity: orders
path: data/orders.csv
keys: [id]
- entity: payments
path: data/payments.csv
keys: [id]
loaders:
- name: target-postgres
variant: transferwise
pip_url: pipelinewise-target-postgres
files:
- name: dbt
pip_url: git+https://gitlab.com/meltano/files-dbt.git@config-version-2
transformers:
- name: dbt
pip_url: 'dbt-core~=1.0.0 dbt-postgres~=1.0.0 dbt-redshift~=1.0.0 dbt-snowflake~=1.0.0
dbt-bigquery~=1.0.0
'
environments:
- name: dev
config:
plugins:
loaders:
- name: target-postgres
config:
user: meltano
dbname: warehouse
default_target_schema: public
transformers:
- name: dbt
config:
target: postgres
source_schema: public
env:
PG_ADDRESS: localhost
PG_PORT: '5432'
PG_USERNAME: meltano
PG_DATABASE: warehouse
- name: staging
- name: prod