Scaffold domain digital-core
This commit is contained in:
commit
64e0ce27ba
13 files changed
+212
No files matched your search
@@ -0,0 +1,26 @@
|
||||
# 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.<schema>.<table>. Give each experience product its own schema:
|
||||
# models/<product_schema>/*.sql with +schema: <product_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 %}"
|
||||
Reference in new issue
Block a user