Proof of concept on synthetic data. This page is a demonstration, not a production system.
◆ Pipeline · Content & Games ← portfolio runnable SQL project
Analytics Engineering · Ingestion + SQL models

From raw landing to tested metric marts.

The full pipeline behind the content & games warehouse: heterogeneous sources land with ingestion-level quality gates, then a SQL transformation project takes over — sources → staging views → conformed dimensions, facts, and metric marts, every model tested. The project is real (its build output is summarised below), not a mockup.

12
models
17 / 17
tests passing
5
sources
3
layers
1.9s
full build

How the data lands

Five sources, each with its own format and cadence, land as the raw layer — checked at the door. Failures quarantine loudly; nothing bad promotes into the models below. (Ingestion design; the build that follows is real.)

SourceFormatCadenceLanding gate
streaming_eventsJSON · event streamcontinuousidempotency key on (user, title, event_ts) — replayed events dropped
content_spendCSV · monthly finance exportmonthlyrow-count reconciliation · rows missing units quarantined
games_telemetryREST APIhourlyschema type-cast & null-handling — bad rows quarantined
title_catalogCDCon changeSCD-2 effective-dated rows — catalog history preserved
usersCRM extractdailykey null/uniqueness checks · freshness SLA (< 3h)

Lineage

Raw sources are staged into clean views, then modeled into conformed dimensions, facts, and metric marts. Facts reference dimensions — enforced by relationships tests.

Sources (raw)
raw.users
raw.titles
raw.streams
raw.content_spend
raw.game_sessions
Staging (views)
stg_users
stg_titles
stg_streams
stg_content_spend
stg_game_sessions
Marts (tables)
dim_user
dimension
dim_title
dimension
fct_streams
fact
fct_content_spend
fact · variance
fct_game_sessions
fact
content_finance_summary
metric · FP&A
engagement_by_market
metric

Models

ModelLayerMaterializationDescription

Tests — 17 / 17 passing

Data quality is codified as tests and enforced on every build.

6
not_null
4
unique
5
relationships
2
accepted_values

A model: content_finance_summary.sql

The executive FP&A metric — planned vs. actual with variance and running totals, defined once.


  
Scope · what production adds
This is a proof of concept on synthetic data — a real, runnable SQL project kept deliberately small to show the pattern. With production resources it would run against the live warehouse with many more sources, a fuller test and documentation suite, CI/CD, and scheduled orchestration. The modeling approach shown here — sources → staging → marts, tested and defined once — is exactly what scales up; funding just adds breadth and automation.
SQL transformation project · sources → staging → marts, 17 tests · synthetic data · maxwellcreates.com