Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_int-dbt-transform

dbt SQL Transformation Internals (Jinja Compiler, DAG & Slim CI)

6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![dbt SQL Transformation Internals (Jinja Compiler, DAG & Slim CI) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_int-dbt-transform/opengraph-image)](https://archos.sageideas.dev/d/dgm_int-dbt-transform)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_int-dbt-transform)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_int-dbt-transform" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="dbt SQL Transformation Internals (Jinja Compiler, DAG & Slim CI) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["Git PR / Scheduler"]
  n1_1["Jinja & ref Compiler"]
  n2a_2[("Warehouse Pushdown")]
  n2b_3["Schema & Unit Tests"]
  n3_4[("Manifest & Docs Graph")]
  downstream_5["Downstream & OTel"]
  client_0 -->|"1. Compile · Jinja"| n1_1
  n1_1 -->|"2a. Run MERGE · SQL"| n2a_2
  n1_1 -.->|"2b. dbt test · SQL"| n2b_3
  n2a_2 -->|"3a. Emit json · Artifact"| n3_4
  n2b_3 -->|"3b. Sync · Control"| n3_4
  n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5

COMPONENT STACK (6)

  • Git PR / SchedulerSTATELESS
    SQL Models + YAML Tests
  • Jinja & ref CompilerSTATELESS
    Resolves DAG + incremental SQL
  • Warehouse PushdownSTATEFUL
    Executes 100% SQL in Snowflake/PG
  • Schema & Unit TestsSTATELESS
    Validates PKs, enums & mocks
  • Manifest & Docs GraphSTATEFUL
    Emits lineage + Slim CI state
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. Git PR / Scheduler → Jinja & ref Compiler (Compile)[Jinja]
  2. Jinja & ref Compiler → Warehouse Pushdown (Run MERGE)[SQL]
  3. Jinja & ref Compiler → Schema & Unit Tests (dbt test)[SQL]
  4. Warehouse Pushdown → Manifest & Docs Graph (Emit json)[Artifact]
  5. Schema & Unit Tests → Manifest & Docs Graph (Sync)[Control]
  6. Manifest & Docs Graph → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →