forked from bh2smith/dune-sync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
50 lines (47 loc) · 1 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
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