Bolt Pipeliner Documentation
GitHub

Examples walkthrough

After this page, you will know what each official example project demonstrates and which one to start with for your setup. You will also have verified commands for running the lightweight local examples first.

The examples live in the framework source repository under examples/:

git clone https://github.com/ormenesse/boltdbt_pipeliner.git cd boltdbt_pipeliner/examples

Which example should you pick

ProjectEngine and storageLayersBest use
demo/PySpark + Icebergflatfile, bronze, silver, goldSmall Spark and Iceberg medallion walkthrough with a single silver fact table.
demo_spark/PySpark + local Parquetflatfile, bronze, silver, gold, diamondEnd to end Spark local run with NYC collisions data and a Spark ML model.
demo_pandas/Pandas + local Parquetflatfile, bronze, silver, gold, diamondLocal single machine run of the NYC pipeline with a NumPy logistic model.
demo_polars/Polars + local Parquetflatfile, bronze, silver, gold, diamondLocal single machine run of the same NYC pipeline with Polars transforms.

demo/: minimal Spark and Iceberg reference

Use this when you want the smallest medallion style project that still shows incremental policy and tests.

cd examples/demo bolt run --silver --config configs/etl_config.yaml bolt test --config configs/etl_config.yaml bolt generate documentation --config configs/etl_config.yaml

This example expects a working local Spark and Iceberg setup.

demo_spark/: full Spark local pipeline

Use this when you want Spark feature engineering and model training on a realistic public dataset.

cd examples/demo_spark python scripts/download_nyc_collision_data.py --limit 2500 bolt run --config configs/etl_config.yaml --verbose

demo_pandas/ and demo_polars/: lightweight local paths

Use these when you want fast local iteration without a Spark cluster.

cd examples/demo_pandas python scripts/download_nyc_collision_data.py --limit 50 bolt run --config configs/etl_config.yaml --flatfile --bronze
cd examples/demo_polars python scripts/download_nyc_collision_data.py --limit 50 bolt run --config configs/etl_config.yaml --flatfile --bronze

The commands above were verified in this docs workspace with bolt-pipeliner==0.2.6 and local fixture data.

For full medallion and diamond runs in these two demos, verify with the latest framework source checkout. In this 0.2.6 environment, the current repository demo configs can raise a year_month column error during the later silver step.

Practical starting point

Start with demo_pandas/ or demo_polars/ to validate your local environment quickly. Move to demo_spark/ after that, then use demo/ when you want to see the Spark and Iceberg medallion pattern in a compact project.