Online store data pipeline

A working demo of a daily warehouse load, built with Apache Airflow 3, Python and PostgreSQL. Every number on this page was produced by the pipeline from synthetic data.

Latest business day

Loading…

–Revenue
–Orders
–Average order value
–Rows rejected by quality rules

Daily revenue

Completed, delivered and shipped orders. Weekends run higher by design of the synthetic data.

Revenue by category

All days in the warehouse.

What happened in the last run

Read straight from the pipeline’s audit tables.

TableExtractedRejectedLoaded
Quality checkSeverityResult
Why rows were rejectedRows

How the pipeline works

One Airflow DAG, store_dwh_daily, runs every night. Each table is a task group that extracts and cleans its source file into staging, then upserts it into the core schema. Tables load in waves so that facts never arrive before the dimensions they reference.

SourceCSV files Wave 1categoriespayment methodscustomers Wave 2products Wave 3orders Wave 4order items Quality checksReporting martsThis page