We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93c7a10 commit 683133aCopy full SHA for 683133a
tests/dbt/cli/test_run.py
@@ -65,6 +65,12 @@ def test_run_with_changes_and_full_refresh(
65
"select a, b, 'changed' as c from {{ ref('model_a') }}"
66
)
67
68
+ # Clear dbt's partial parse cache to ensure file changes are detected
69
+ # Without it dbt may use stale cached model definitions, causing flakiness
70
+ partial_parse_file = project_path / "target" / "sqlmesh_partial_parse.msgpack"
71
+ if partial_parse_file.exists():
72
+ partial_parse_file.unlink()
73
+
74
# run with --full-refresh. this should:
75
# - fully refresh model_a (pick up the new records from external_table)
76
# - deploy the local change to model_b (introducing the 'changed' column)
0 commit comments