Test your sources for freshness
Purpose
Key Components
Configuring Freshness Checks
version: 2
sources:
- name: jaffle_shop
database: raw
freshness: # Default freshness settings for all tables in this source
warn_after: {count: 12, period: hour} # Warn if data is over 12 hours old
error_after: {count: 24, period: hour} # Error if data is over 24 hours old
loaded_at_field: _etl_loaded_at # Column used to determine when data was last loaded
tables:
- name: raw_orders
freshness: # Stricter settings specifically for the orders table
warn_after: {count: 6, period: hour}
error_after: {count: 12, period: hour}
- name: raw_customers # This table inherits the default freshness settings
- name: raw_product_skus
freshness: null # Freshness checks are disabled for this tableOptimizing Freshness Checks for Large Tables
Running Freshness Tests
Best Practices
Last updated
Was this helpful?