Skip to content

[BUG] state:modified false positive for unchanged Python models #1461

@dataders

Description

@dataders

Description

When running dbt build --select state:modified with deferral, Python models that have not changed are incorrectly selected and run.

Steps to Reproduce

  1. Do a full build and save the manifest as the deferred state
  2. Change nothing
  3. Run dbt build --select state:modified with deferral to the saved manifest
  4. Observe: unchanged Python models are selected and run

Expected Behavior

Unchanged Python models should not be selected by state:modified.

Actual Behavior

Python models are always treated as modified regardless of whether their definition has changed.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions