Skip to content

Commit

Permalink
Decrease recency check threshold for history assets (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
amishas157 authored Oct 15, 2024
1 parent 492713b commit 08e583f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/staging/stg_history_assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ models:
- dbt_utils.recency:
datepart: hour
field: cast(closed_at as timestamp)
interval: '{{ 1 if target.name == "prod" else 24 }}'
interval: '{{ 3 if target.name == "prod" else 24 }}'
meta:
description: "Monitors the freshness of your table over time, as the expected time between data updates."
- incremental_unique_combination_of_columns:
Expand Down

0 comments on commit 08e583f

Please sign in to comment.