Skip to content

Commit

Permalink
used code tags wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
faithebear authored Dec 4, 2024
1 parent 629802c commit 261e183
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/blog/2024-11-27-test-smarter-part-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ You may have issues that can *technically* get fixed at the source, but it won't
Here’s our recommendation for what tests belong on your sources.

- Source freshness: testing data freshness for sources that are critical to your pipelines.
- If any sources feed into any of the “top 3” [priority categories](https://docs.getdbt.com/blog/test-smarter-not-harder#how-to-prioritize-data-quality-concerns-in-your-pipeline) in our last post, use [`dbt source freshness`](https://docs.getdbt.com/docs/deploy/source-freshness) in your job execution commands and set the severity to [`error`]. That way, if source freshness fails, so does your job.
- If none of your sources feed into high priority categories, set your source freshness severity to [`warn`] and add source freshness to your job execution commands. That way, you still get source freshness information but stale data won't fail your pipeline.
- If any sources feed into any of the “top 3” [priority categories](https://docs.getdbt.com/blog/test-smarter-not-harder#how-to-prioritize-data-quality-concerns-in-your-pipeline) in our last post, use [`dbt source freshness`](https://docs.getdbt.com/docs/deploy/source-freshness) in your job execution commands and set the severity to `error`. That way, if source freshness fails, so does your job.
- If none of your sources feed into high priority categories, set your source freshness severity to `warn` and add source freshness to your job execution commands. That way, you still get source freshness information but stale data won't fail your pipeline.
- Data hygiene: tests that are *fixable* in the source system (see our note above on “fixability”).
- Examples:
- Duplicate customer records that can be deleted in the source system
Expand Down

0 comments on commit 261e183

Please sign in to comment.