Repository navigation
Open
Labels
priority: P1Core release payload — the milestone's stated goalroadmapIndustrialization roadmap itemtrack: workloadsIngestion, sizing, scale, benchmarktype: feature
Description
Goal — v0.8 Spark processing correctness gate
Make existing Gold dbt projects run against Spark without forking the product model definitions or using raw Spark writes as an alternative. This issue covers dbt semantics; the Spark SQL execution service is tracked separately.
Current coupling
packages/runtime/openlakeforge_runtime/dbt/render_profiles.pydefaults to Trino, with Trino-only parse placeholders and templates.images/project-code/pyproject.tomlpinsdbt-trino, and image build generates stage-neutral dbt manifests.- Example
lakehouse_code/gold/*/dbt/dbt_project.ymlusesmaterialized: tableandon_table_exists: replace;models/sources.ymlnames logical Silver schema from stage runtime. openlakeforge_runtime/product_dagster.pyownsDbtCliResource,dbt_assets, artifacts, OpenLineage and error handling.
Work
- Add a
spark.ymlprofile template, environment bindings and version-pinned adapter/dependencies compatible with the Spark runtime; retaintrino.ymland default selection. No passwords or stage URLs in ProjectRevision/image. - Validate
source(),ref(), generated schema names, correct warehouse + catalog, nested schemas and stage prefixes on Polaris. For Glue: document unsupported until AWS conformance passes. - Compare actual Iceberg materialization semantics for dbt Spark:
tablereplace/atomicity, incrementalmerge, primary/unique key handling, full refresh, schema evolution, failure halfway through a write, retry/idempotence, snapshot visibility, concurrent writers. Do not claimCREATE OR REPLACEparity without observing committed snapshots. - Preserve versioned, engine-appropriate
manifest.jsonat Dagster definition loading, per-stage environment reparse where needed, deterministic builds and promotion of the same immutable ProjectRevision DEV→PROD. - Preserve
dbt build(including tests), Dagster asset keys/graph, per-runrun_results.json, dbt logs, OpenLineage and artifact upload. Ifopenlineage-dbtneeds an engine-specific adapter, test catalog dataset names in OpenMetadata.
Acceptance
- All sample Gold products pass
dbt buildthrough dbt-spark and read Floe Silver as Iceberg. - Output values, schemas, Iceberg snapshots and rollback are compared with dbt-trino, for full and incremental paths.
- Existing Trino model tests and E2E stay green; source/model code isn't duplicated for Spark.
- Dagster manifests/asset graphs valid after engine switch; no stale Trino relation names or escaped stage credentials.
- Failure cases and unsupported dbt materializations cause actionable, fail-closed validation errors.
- One ProjectRevision digest deploys with different stage bindings and compatible adapters.
Depends on: #879, Spark runtime issue, #880. Parallel with DuckDB query implementation (#547). P1 optional v0.8.
Metadata
Metadata
Assignees
Labels
priority: P1Core release payload — the milestone's stated goalroadmapIndustrialization roadmap itemtrack: workloadsIngestion, sizing, scale, benchmarktype: feature
Activity
malon64 commentedon Nov 19, 2026
Moved from v0.8-beta to v0.9-beta (2026-11-19): v0.8 qualifies the current stack (Trino + dbt-trino) on cloud and on-premises; separating the compute and query engines follows in v0.9, which already targets scale-to-zero and burst capacity for batch and query.