Skip to content

Examples

Each example is a small pipeloom project in examples/ that runs on a laptop with one command and ships its own data. Every example is run end to end in CI, so the pages below never drift from the code.

Walkthroughs

  • Late-arriving events


    Clickstream events land in daily files. An incremental model with a watermark, a lookback and a merge on the event id picks up late events, reruns idempotently and recovers the rest with a full refresh.

    DuckDB, polars. Walkthrough

  • Customer dimension with history


    Three CRM snapshots build a type 2 slowly changing dimension with valid_from, valid_to, is_current and hard deletes, then answer "as of" questions.

    DuckDB, polars, pandas. Walkthrough

  • An untrusted partner feed


    Expectations drop and quarantine bad rows, a relationships test flags orphans, and a model contract stops a schema break before anything is written.

    DuckDB, polars. Walkthrough

  • Testing transformation logic


    Unit tests with given and expected rows, data tests after the write, pipeloom test, pipeloom build, and the row diff a wrong formula produces.

    DuckDB, polars. Walkthrough

Reference projects

  • One pipeline, four engines


    The same TPC-H bronze, silver and gold layers on polars, pandas, Spark and Databricks, and on DuckDB through the duckdb target of tpch_polars.

    examples/README.md

  • Airflow, one task or one watcher per model


    An Astro project that renders the TPC-H example as an Airflow DAG in LOCAL, DATABRICKS and WATCHER modes.

    Airflow plugin, examples/airflow

  • Lineage in Marquez


    Runs the TPC-H example with the OpenLineage sink and shows the graph, the schemas and the quality assertions in Marquez.

    OpenLineage guide, examples/marquez

  • A Databricks job


    The TPC-H example as one serverless Databricks job per pipeline, deployed from a bundle or directly.

    Databricks plugin, examples/tpch_databricks

Try one

$ git clone https://github.com/emanuel-luis/pipeloom
$ cd pipeloom
$ uv sync --all-packages
$ uv run pipeloom build --project-dir examples/orders_quality --vars '{"batch": "day1"}'

Each walkthrough lists the exact commands for every step. For a project of your own, start with pipeloom demo or pipeloom init (Quickstart).