SQLMesh's extensions config supports dict form with 'repository' key, which runs INSTALL h3 FROM community + LOAD h3 automatically at connect time. No manual one-time install needed per machine. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
23 lines
448 B
YAML
23 lines
448 B
YAML
gateways:
|
|
duckdb:
|
|
connection:
|
|
type: duckdb
|
|
catalogs:
|
|
local: "{{ env_var('DUCKDB_PATH', 'data/lakehouse.duckdb') }}"
|
|
extensions:
|
|
- spatial
|
|
- name: h3
|
|
repository: community
|
|
|
|
default_gateway: duckdb
|
|
|
|
variables:
|
|
LANDING_DIR: "{{ env_var('LANDING_DIR', 'data/landing') }}"
|
|
|
|
model_defaults:
|
|
dialect: duckdb
|
|
start: 2025-01-01
|
|
cron: '@daily'
|
|
|
|
default_target_environment: "dev_{{ user() }}"
|