Skip to content

feat: add Jaffle Shop ELT pipeline example notebook#58

Closed
mingjerli wants to merge 4 commits intomainfrom
feat/jaffle-shop-example
Closed

feat: add Jaffle Shop ELT pipeline example notebook#58
mingjerli wants to merge 4 commits intomainfrom
feat/jaffle-shop-example

Conversation

@mingjerli
Copy link
Copy Markdown
Owner

Summary

  • Adds examples/jaffle_shop_elt_pipeline.ipynb — a dbt-style e-commerce data pipeline example modeled after the Jaffle Shop
  • 8 SQL queries across 4 layers (raw → staging → intermediate → marts → reporting) demonstrating real-world ELT patterns
  • Covers: table dependency ordering, backward/forward column lineage, PII propagation, ownership analysis, impact analysis, visualization, and JSON export

Test plan

  • Notebook executes cleanly end-to-end via jupyter execute
  • Verify visualizations render in Jupyter Lab
  • Run make check-examples to confirm no regressions in other notebooks

dbt-style e-commerce pipeline (raw -> staging -> intermediate -> marts)
with 8 queries across 4 layers demonstrating:
- Table dependency analysis and execution ordering
- Backward/forward column lineage tracing
- PII detection and metadata propagation
- Impact analysis for schema changes
- Ownership analysis across teams
- Full pipeline visualization and JSON export
Notebook now shows all cell outputs (text, graphviz objects) so readers
can browse results on GitHub without running locally.
Replace the synthetic ELT notebook with the real dbt Jaffle Shop project:
- Copy original SQL model files (6 staging + 6 marts) from dbt-labs/jaffle-shop
- Include __sources.yml, dbt_project.yml, and cents_to_dollars macro
- Use clgraph's Jinja2 template_context to resolve ref(), source(), and macros
- Document gaps found: SELECT * from CTEs not expanded, CTE names leak
  into table dependency graph
@mingjerli mingjerli closed this Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant