-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
58 lines (55 loc) · 1.37 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
gateways:
local:
variables:
poc_schema: "my_schema"
connection:
type: duckdb
database: local_connection.db
state_connection:
type: duckdb
database: local_state.db
test_connection:
type: duckdb
database: test.db
mysql:
variables:
#poc_catalog: "my_db"
poc_schema: "my_schema"
connection:
type: mysql
host: localhost
user: root
password: ""
port: 3306
# state_connection: # it doesn't work with DuckDB as state connection so far
# type: duckdb
# database: mysql_connection.db
bq:
variables:
# catalog is provided by connection.project
poc_schema: "sqlmesh_cou"
connection:
type: bigquery
project: {{ env_var('STORAGE_PROJECT') }}
execution_project: {{ env_var('EXECUTION_PROJECT') }}
method: oauth
state_connection:
type: duckdb
database: bq_connection.db
spark:
variables:
poc_schema: "my_schema"
connection:
type: spark
state_connection:
type: mysql
host: localhost
user: root
password: ""
port: 3306
# state_connection: # it doesn't work with DuckDB as state connection so far
# type: duckdb
# database: spark_connection.db
default_gateway: local
model_defaults:
dialect: bigquery