Checking your account

You can read the lesson while its saved answers and constructions load. Learning controls will open once that work is ready.

A Quality Check Needs a Decision About Failure

A Pipeline Needed More Than a Working Query

BOTIE

A query can produce the right table once and still leave a team with a difficult daily job. Its input tables must be ready, failed attempts must be recoverable, and a bad reading needs a declared consequence. Those responsibilities used to be scattered around the transformation code.

Databricks announced Delta Live Tables in May 2021 to let authors declare datasets, their dependencies and quality expectations together. The pipeline system could inspect those definitions and manage their updates. The current interface used here is Lakeflow Spark Declarative Pipelines. Delta Lake remains the versioned storage underneath; a pipeline is the process that builds and refreshes datasets.

An expectation is a named condition that a row should satisfy. It still needs a policy: keep and report the failing row, exclude it, or stop this update. We will keep the condition and its consequence visible as separate components, then inspect the actual rows training receives.

Sources for this history