✦ Want a lab built just for you? ✦
Request a Lab ↗

Building a Data Quality Pipeline with Delta Live Tables and Unity Catalog

About this lab

You are a senior data engineer at PrecisionWorks Manufacturing, a company sourcing 200 raw materials from 50 suppliers across 5 plants. Quality control is critical: out-of-spec materials have caused production line shutdowns three times this quarter. The data team processes purchase orders, shipment records, and quality inspection reports, but there is no automated way to catch data quality issues before they reach analytics dashboards. Null supplier references, negative quantities, and future-dated shipments slip through undetected.

Your mission is to build a production-grade data pipeline using Delta Live Tables (DLT) with data quality expectations at every layer. You will define Bronze, Silver, and Gold tables declaratively, apply expectations that warn, drop, or fail on quality violations, explore automatic data lineage in Unity Catalog, and schedule the pipeline using Databricks Workflows. This is the most advanced Databricks pattern, replacing hundreds of lines of imperative code with declarative definitions that include built-in quality monitoring.

Lab details

  • Level: Advanced
  • Cloud: Azure
  • Domain: Data Engineering
  • Duration: 90 minutes

What you will learn

  • Build a 13-table DLT pipeline with Bronze, Silver, and Gold layers using declarative Python
  • Apply data quality expectations (expect, expect_or_drop, expect_or_fail) on Silver tables
  • Monitor data quality pass/fail metrics in the DLT pipeline UI
  • Explore automatic data lineage graphs in Unity Catalog
  • Query Gold analytics tables for supplier performance, quality, and procurement insights
  • Schedule the DLT pipeline for daily execution using Databricks Workflows

Concepts covered

  • Delta Live Tables
  • Data Quality Expectations
  • Unity Catalog
  • Data Lineage
  • Declarative Pipelines
  • Databricks Workflows

Technologies used

  • Delta Live Tables
  • Unity Catalog
  • Databricks Workflows
  • Delta Lake
  • Azure Databricks
  • Azure Portal

Prerequisites

  • Intermediate Python and SQL knowledge
  • Azure account with an active subscription
  • Experience with Databricks notebooks, Delta Lake, and Unity Catalog
  • Completion of at least one intermediate Databricks lab

Topics

  • Azure
  • Databricks
  • Delta Live Tables
  • DLT
  • Unity Catalog
  • Data Quality
  • Lineage
  • Manufacturing
  • Supply Chain
  • Advanced