← Previous · Film 4 of 10
One row of what, and when
Twelve on census day, nine today: both right. Say what one row is and which day it describes, before any SQL, and test both.
Topics › Analytics engineering › In the weeds of data crafting
Since 1300, English silver has been tested before it's marked. A core model makes the same kind of promise: every gap between what the business expects and what the sources hold gets a decision, the contracts say what's promised, and the tests prove it, written before the code they check.
Builds on One row of what, and when
Press Play, or pick a chapter. Turn on Pause and think to stop for one question at the end of chapters.

Download the videoCaption filesRead the script
Where next?
Every card in the film shows a real file from the example dbt project. Open the ones each chapter shows, on GitHub, or run the whole project yourself.
requirements/ requirements/sources/learning_platform/_learning_platform__requirements.yml sources/learning_platform/_learning_platform__decisions.ymldbt_project.yml models/core/student/_core_student__models.ymldbt_project.yml exposures/planning/_planning__exposures.yml exposures/wallet/_wallet__exposures.ymlmodels/core/course/_core_course__models.yml tests/generic/versions_do_not_overlap.sql seeds/expected/planning/census_report.csv tests/reconciliation/reconcile_planning_with_census_report.sqlmodels/intermediate/student/_int_student__models.ymlmodels/staging/short_courses/_short_courses__models.yml sources/short_courses/_short_courses__decisions.yml sources/student_system/_student_system__sources.ymlThe four Pause and think questions, for a class or a team. Open one to see the answer.
Film 5 of 10.
← Previous · Film 4 of 10
Twelve on census day, nine today: both right. Say what one row is and which day it describes, before any SQL, and test both.
Next · Film 6 of 10 →
Four layers turn the tests green. Each layer has one job; each CTE, one step; and the rule is written once.