Skip to content

Commit

Permalink
Update state-comparison-caveats.md
Browse files Browse the repository at this point in the history
  • Loading branch information
runleonarun authored Oct 25, 2024
1 parent 2e00229 commit 74811f4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Caveats to state comparison"
---

import StateModified from '/snippets/_state-modified-compare.md';

The [`state:` selection method](/reference/node-selection/methods#the-state-method) is a powerful feature, with a lot of underlying complexity. Below are a handful of considerations when setting up automated jobs that leverage state comparison.

### Seeds
Expand Down Expand Up @@ -48,7 +50,7 @@ dbt test -s "state:modified" --exclude "test_name:relationships"

To reduce false positives during `state:modified` selection due to env-aware logic, you can set the `state_modified_compare_more_unrendered_values` [behavior flag](/reference/global-configs/behavior-changes#behavior-change-flags) to `True`.

import StateModified from '/snippets/_state-modified-compare.md';
<StateModified features={'/snippets/_state-modified-compare.md'}/>

</VersionBlock>

Expand Down

0 comments on commit 74811f4

Please sign in to comment.