Test Severity Levels in dbt
📖 Scenario: You are working on a data project using dbt. You want to ensure your data quality by adding tests with different severity levels. This helps you decide which test failures should stop your workflow and which should just warn you.
🎯 Goal: Learn how to add tests in dbt with different severity levels: error and warn. You will create a simple model, add tests, and configure their severity.
📋 What You'll Learn
Create a dbt model with sample data
Add a test with severity level
errorAdd a test with severity level
warnRun dbt tests and observe output
💡 Why This Matters
🌍 Real World
Data teams use dbt tests with severity levels to catch critical data issues early and allow less critical warnings to be reviewed later.
💼 Career
Understanding test severity in dbt helps data analysts and engineers maintain data quality and reliability in production pipelines.
Progress0 / 4 steps