Skip to content

Series · Books for Data Engineers

dbt for Data Engineers

A Hands-On Case Study in Production-Grade Analytics Engineering

For data engineers who already know SQL, Python and medallion architecture, and want to learn how dbt runs a project and which trade-offs matter once it is in production.

  • 12 chapters
  • ~90,000 words
  • dbt-core 1.12
  • hands-on case study
  • runs locally in Docker
Status: in productionFree chapters coming soonWaitlist opens soonUS$19.90 at launch

What you'll build

You build one e-commerce data platform across all 12 chapters. It starts from five sources — customers, products, orders, order items and payments — and moves them through staging, intermediate and mart layers (Bronze, Silver and Gold).

Bronze

Raw sources: customers, products, orders, order items, payments.

Silver

Staging and intermediate models: cleaned, cast and joined.

Gold

Marts: fct_order_items, fct_revenue, dim_product_scd2 and more.

This is for you if

  • ✓You're comfortable with SQL and Python or PySpark, and you want to run dbt in production — whether or not you have used it before.
  • ✓You already use dbt and want to understand why it behaves the way it does, so you can pick the right pattern.
  • ✓When a recommended pattern changes, you want to know the reason, not only the new rule.

Not for you if

  • —You're looking for a first introduction to SQL, CTEs or data warehousing.
  • —You want step-by-step instructions for the dbt Cloud interface.
  • —You need examples for inventory, shipping or marketing attribution. The case study covers customers, products, orders, order items and payments only.

Sample

Chapters 1–2 will be free to read here

They will appear here soon, in the same web edition buyers get.

Email signup opens soon. Until then, write to hello@yzcworks.com.

Preview

Contents & progress

Production ledger

The current status of every chapter, updated as the book is written.

ChTitleStatusCovers
01dbt Fundamentals: What It Is & How a Project RunsFree soonWhat dbt does and doesn't do, the ELT problem it solves, how a project is laid out, and how one run turns files into warehouse objects. Starts from zero, for readers new to dbt.
02dbt's Execution Model & Core ConceptsFree soonThe DAG, parse vs. compile vs. execute, sources and refs, materializations and where adapters differ.
03Project Structure & Layered ArchitectureReviewedStaging, intermediate and mart conventions mapped onto Bronze, Silver and Gold, and patterns for dbt_project.yml.
04Testing & Data QualityReviewedGeneric and singular tests, unit tests as TDD fixtures, and source freshness as a quality gate.
05Incremental Models & Performance at ScaleReviewedIncremental strategies, the microbatch pattern, and partitioning and clustering on each warehouse.
06Snapshots & SCD Type 2ReviewedSCD Type 2 with dbt snapshots, the timestamp and check strategies, and configuration that changes by environment.
07Macros & Jinja for ReuseReviewedJinja patterns worth reusing, the package ecosystem, and sharing macros across projects with dbt Mesh.
08Documentation & LineageIn reviewschema.yml docs, exposures, dbt Explorer, column-level lineage and the semantic layer.
09CI/CD & Deployment PatternsIn reviewSlim CI, state:modified+, dev/staging/prod environments, and contract enforcement as a CI gate.
10Orchestration IntegrationReviewedThe dbt Cloud scheduler vs. external orchestrators, ways to invoke dbt, retries and idempotency.
11Governance: Groups, Access & VersionsReviewedModel contracts, versioning, access modifiers and dbt Mesh.
12Production Operations: Monitoring & RunbooksOutlinedRun artifacts as an ops mart, freshness and failure alerts, and runbooks for incidents.

Pricing

Pricing

Standard Edition

dbt for Data Engineers

$19.90 USD, one-time

30-day refund, no questions asked.

The complete book and everything that ships with it.

  • —12 chapters in PDF + ePub + web (HTML)
  • —Templates & checklists pack
  • —Prompt pack for AI-assisted dbt work
  • —Free updates within this major version

Not yet available for purchase

Sales open when the book is finished.

Waitlist opens soon

How delivery works

  1. 01Checkout runs on a secure hosted payment page. Sales tax and VAT are calculated there.
  2. 02Right after payment you get a receipt email with download links for every file. The web edition is a zipped HTML folder you open in any browser. The same files stay available from the order page linked in that email.
  3. 03The case-study code is a separate public repository under the MIT license, free for everyone. It opens at launch.
  4. 04Updates within this major version are uploaded to the same order, so you download them from the same place.

Buying for a team? Email hello@yzcworks.com for a team licence. See the refund policy and terms.

Proof

Every example runs. Check for yourself.

The full case-study project will be a public, runnable repository under the MIT license when the book launches. It has one runnable checkpoint per chapter, 12 in total. You need Docker and Python 3.12. The warehouse is Postgres 18 in Docker on your own machine, so no cloud account is needed.

Code repository — coming soon

Y. Z. C

Senior Data Engineer

Y. Z. C is a senior data engineer with 18 years of experience building data platforms, mostly in insurance and finance. The work has included enterprise data lakes, lakehouse migrations, warehouses modeled in dbt and, more recently, production AI applications built on the data platform. This series is about the decisions that turn a pipeline that works into one that holds up in production.

Refund policy & FAQ

30-day refund, no questions asked. Read the full policy.

Chapters 1–2 will be free to read here

Email signup opens soon. Until then, write to hello@yzcworks.com.