-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfig.yaml
More file actions
23 lines (21 loc) · 819 Bytes
/
config.yaml
File metadata and controls
23 lines (21 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# The gateways key takes dictionaries as values,
# and each gateway dictionary contains one or more connection dictionaries.
# Gateway dictionaries can contain multiple connection dictionaries if different SQLMesh components
# should use different connections (e.g., SQLMesh tests should run in a different database than SQLMesh plans).
gateways:
local:
connection:
type: duckdb
database: sqlmesh.db
state_connection:
type: postgres
host: localhost
port: 5432
user: sqlmesh
password: sqlmesh
database: sqlmesh
# The default_gateway key specifies the default gateway SQLMesh should use when executing commands.
default_gateway: local
# Model specific configuration like table format, SQL dialect, start date for backfill etc.
model_defaults:
dialect: spark2