Skip to content

Improve clarity on freshness checks for views - #9844

Merged
nataliefiann merged 4 commits into
currentfrom
richkdbt-sao-view-freshness
Aug 19, 2026
Merged

Improve clarity on freshness checks for views#9844
nataliefiann merged 4 commits into
currentfrom
richkdbt-sao-view-freshness

Conversation

@richkdbt

@richkdbt richkdbt commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Clarify warning message regarding freshness checks for sources that are views.

Makes clear that loaded_at_field and loaded_at_query are necessary for views.

What are you changing in this pull request and why?

Checklist


🚀 Deployment available! Here are the direct links to the updated files:

Clarify warning message regarding freshness checks for sources that are views. 

Makes clear that loaded_at_field and loaded_at_query are necessary for views.
@richkdbt
richkdbt requested a review from a team as a code owner August 19, 2026 09:51
Copilot AI lite review requested due to automatic review settings August 19, 2026 09:51
@vercel

vercel Bot commented Aug 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs-getdbt-com Ready Ready Preview Aug 19, 2026 11:16am

Request Review

@runleonarun runleonarun added the new contributor Label for first-time contributors label Aug 19, 2026
@github-actions github-actions Bot added the content Improvements or additions to content label Aug 19, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the state-aware orchestration documentation to clarify how freshness checks behave for sources that are views, and to emphasize that loaded_at_field or loaded_at_query is required to determine freshness in that case.

Changes:

  • Rewords the guidance about freshness checks for sources that are views.
  • Adds an explicit instruction to configure loaded_at_field or loaded_at_query for view-based sources.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread website/docs/docs/deploy/state-aware-setup.md Outdated
- If a source is a view in the data warehouse, dbt can’t track updates from the warehouse metadata when the view changes. Without a `loaded_at_field` or `loaded_at_query`, dbt treats the source as "always fresh” and emits a warning during freshness checks. To check freshness for sources that are views, add a `loaded_at_field` or `loaded_at_query` to your configuration.
- If a source is a view in the data warehouse, the available metadata is usually insufficient to discern freshness and dbt will emit a warning during freshness checks.

To determine fresheness for sources that are views, add a `loaded_at_field` or `loaded_at_query` to your configuration.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
To determine fresheness for sources that are views, add a `loaded_at_field` or `loaded_at_query` to your configuration.
To determine freshness for sources that are views, add a `loaded_at_field` or `loaded_at_query` to your configuration.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Comment thread website/docs/docs/deploy/state-aware-setup.md Outdated
@nataliefiann
nataliefiann merged commit 194439a into current Aug 19, 2026
5 checks passed
@nataliefiann
nataliefiann deleted the richkdbt-sao-view-freshness branch August 19, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

content Improvements or additions to content new contributor Label for first-time contributors

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants