forked from shaped-ai/target-clickhouse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meltano.yml
43 lines (43 loc) · 1.32 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
version: 1
send_anonymous_usage_stats: true
project_id: "target-clickhouse"
default_environment: test
environments:
- name: test
plugins:
extractors:
- name: "tap-smoke-test"
namespace: "tap_smoke_test"
executable: "tap-smoke-test"
pip_url: "git+https://github.com/meltano/tap-smoke-test.git"
config:
streams:
- stream_name: animals
"input_filename": "https://gitlab.com/meltano/tap-smoke-test/-/raw/main/demo-data/animals-data.jsonl"
- stream_name: page_views
"input_filename": "https://gitlab.com/meltano/tap-smoke-test/-/raw/main/demo-data/pageviews-data.jsonl"
stream_maps:
"animals":
"__key_properties__": ["id"]
"page_views":
"__key_properties__": ["vistor_id"]
loaders:
- name: "target-clickhouse"
namespace: "target_clickhouse"
pip_url: -e .
capabilities:
- about
- stream-maps
- record-flattening
config:
sqlalchemy_url: 'clickhouse+http://default:@localhost:18123'
settings:
- name: sqlalchemy_url
kind: string
required: true
secret: true
description: "The SQLAlchemy connection string for the ClickHouse database."
- name: table_name
kind: string
required: false
description: "The name of the table to load data into. Defaults to the stream name."