Skip to content

Commit

Permalink
Update website/docs/docs/cloud/about-cloud-develop-defer.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 authored Nov 15, 2024
1 parent 684b323 commit 7f000a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/docs/cloud/about-cloud-develop-defer.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Both the dbt Cloud IDE and the dbt Cloud CLI enable users to natively defer to p
When using `--defer`, dbt Cloud will follow this order of execution for resolving the `{{ ref() }}` functions.

1. If a development version of a deferred relation exists, dbt preferentially uses the development database location when resolving the reference.
2. If a development version does not exist, dbt uses the staging locations of parent relations based on metadata from the staging environment.
2. If a development version doesn't exist, dbt uses the staging locations of parent relations based on metadata from the staging environment.
3. If a development version AND staging version do not exist, dbt uses the production locations of parent relations based on metadata from the production environment.

**Note:** Passing the `--favor-state` flag will always resolve refs using production metadata, regardless of the presence of a development relation, skipping step #1.
Expand Down

0 comments on commit 7f000a6

Please sign in to comment.