Skip to content

Commit

Permalink
Update sources model with clear comment on what freshness block is us…
Browse files Browse the repository at this point in the history
…ed by the customers table (#5687)

## What are you changing in this pull request and why?

I am making updates to a comment in the model, to provide clarity on
which exact freshness parameter is used by the customers table.

It was unclear if the freshness used by the customers table is the one
defined above for the orders table, or the default freshness defined in
the source block; since both freshness parameters are 'defined above'

- [x] Updated comment needs to be reviewed for accuracy


## Checklist
<!--
Uncomment when publishing docs for a prerelease version of dbt:
- [ ] Add versioning components, as described in [Versioning
Docs](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#versioning-entire-pages)
- [ ] Add a note to the prerelease version [Migration
Guide](https://github.com/dbt-labs/docs.getdbt.com/tree/current/website/docs/docs/dbt-versions/core-upgrade)
-->
- [x] Review the [Content style
guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md)
so my content adheres to these guidelines.
- [x] For [docs
versioning](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#about-versioning),
review how to [version a whole
page](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#adding-a-new-version)
and [version a block of
content](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#versioning-blocks-of-content).
- [x] Add a checklist item for anything that needs to happen before this
PR is merged, such as "needs technical review" or "change base branch."

---------

Co-authored-by: Mirna Wong <[email protected]>
  • Loading branch information
chisom-mbama and mirnawong1 authored Jun 26, 2024
1 parent b8da686 commit 53d0ac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/docs/build/sources.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ sources:
warn_after: {count: 6, period: hour}
error_after: {count: 12, period: hour}
- name: customers # this will use the freshness defined above
- name: customers # this inherits the default freshness defined in the jaffle_shop source block at the beginning
- name: product_skus
Expand Down

0 comments on commit 53d0ac6

Please sign in to comment.