-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.yaml
64 lines (59 loc) · 1.36 KB
/
config.yaml
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
data_sources:
- name: Dune
type: dune
key: ${DUNE_API_KEY}
- name: PG
type: postgres
key: ${DB_URL}
jobs:
- name: d2p-test-1
source:
ref: Dune
query_id: 4238114
query_engine: medium
poll_frequency: 5
parameters:
- name: blockchain
value: gnosis
type: ENUM
- name: blocktime
value: "2024-09-01 00:00:00"
type: DATE
- name: result_limit
value: "10"
type: NUMBER
destination:
ref: PG
table_name: results_4238114
if_exists: upsert
index_columns:
- hash
- name: p2d-test
source:
ref: PG
query_string: "SELECT 1 as number, '\\x1234'::bytea as my_bytes;"
destination:
ref: Dune
table_name: dune_sync_test_table
- name: cow-solvers
source:
ref: Dune
query_id: 4345829
query_engine: medium
poll_frequency: 3
destination:
ref: PG
table_name: cow.solvers
if_exists: replace
- name: p2p-test
source:
ref: PG
query_string: |
SELECT
1 AS number,
'\\x1234'::bytea AS my_bytes,
'{"key": "value", "array": [1, 2, 3], "dict": {}}'::json AS my_json,
'[ [{"x": 1}, {"y": 2}], null, [{"z": 3}] ]'::json AS list_dict
destination:
ref: PG
table_name: moo.p2p-test