# dbt project for the digital-core domain's experience data products. # # Runs against the lakehouse as role `dbt`, whose default table access method is # ducklake, so every model table is DuckLake (Parquet in MinIO), readable through # Trino as lake... Give each experience product its own schema: # models//*.sql with +schema: # # By hand: uv run data-domain dbt build # Scheduled: schedules.yml, registered with platform/domain-integration.sh register mgmt name: digital_core version: "1.0.0" profile: domain model-paths: ["models"] macro-paths: ["macros"] models: digital_core: +materialized: table # Trino reads the lake as `trino`, a member of ducklake_reader. +grants: select: ["ducklake_reader"] on-run-end: - "{% for schema in schemas %}grant usage on schema {{ schema }} to ducklake_reader;{% endfor %}"