Source Freshness Checks with dbt
📖 Scenario: You work as a data analyst in a company that relies on daily data updates from various sources. To ensure your reports are accurate, you need to check how fresh the data is in your source tables.Using dbt, you will set up source freshness checks to monitor the last update time of your data sources.
🎯 Goal: Build a dbt project that defines sources and configures freshness checks to monitor the last update timestamps of source tables.
📋 What You'll Learn
Create a source definition for a table named
orders in the raw schemaAdd a freshness check configuration with
warn_after and error_after thresholdsRun the freshness check and output the results
💡 Why This Matters
🌍 Real World
Data teams use source freshness checks to ensure their reports and models rely on up-to-date data, preventing decisions based on stale information.
💼 Career
Knowing how to configure and run source freshness checks is essential for data analysts and engineers to maintain data quality and trust in analytics pipelines.
Progress0 / 4 steps