Skip to content

Commit

Permalink
Update website/docs/reference/node-selection/syntax.md
Browse files Browse the repository at this point in the history
Co-authored-by: Leona B. Campbell <[email protected]>
  • Loading branch information
matthewshaver and runleonarun authored Aug 7, 2024
1 parent f740566 commit 42baff4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion website/docs/reference/node-selection/syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ Only supported by v1.1 or newer.
Another element of job state is the `source_status` of a prior dbt invocation. After executing `dbt source freshness`, for example, dbt creates the `sources.json` artifact which contains execution times and `max_loaded_at` dates for dbt sources. You can read more about `sources.json` on the ['sources'](/reference/artifacts/sources-json) page.

The `dbt source freshness` command produces a `sources.json` artifact whose results can be referenced in subsequent dbt invocations.
- `dbt source freshness`

When a job is selected, dbt Cloud will surface the artifacts from that job's most recent successful run. dbt will then use those artifacts to determine the set of fresh sources. In your job commands, you can signal dbt to run and test only on the fresher sources and their children by including the `source_status:fresher+` argument. This requires both the previous and current states to have the `sources.json` artifact available. Or plainly said, both job states need to run `dbt source freshness`.

Expand Down

0 comments on commit 42baff4

Please sign in to comment.