Store test failures for analysis
📖 Scenario: You work in a data team that uses dbt to build and test data models. You want to capture the details of test failures so you can analyze and fix data quality issues more easily.
🎯 Goal: Create a dbt model that stores the results of test failures in a table for further analysis.
📋 What You'll Learn
Create a source table with sample test failure data
Add a configuration variable to filter failures by severity
Write a dbt model that selects failures based on the configuration
Output the filtered failures for review
💡 Why This Matters
🌍 Real World
Data teams use this approach to track and analyze data quality test failures over time, helping them prioritize fixes.
💼 Career
Knowing how to store and filter test failures is important for data analysts and engineers to maintain reliable data pipelines.
Progress0 / 4 steps