@@ -10664,15 +10664,15 @@ def _run_restatement_plan(tmp_path: Path, config: Config, q: queue.Queue):
1066410664 set_console (orig_console )
1066510665
1066610666
10667- def test_seed_model_metadata_update_sets_forward_only (tmp_path : Path ):
10667+ def test_seed_model_metadata_update_does_not_trigger_backfill (tmp_path : Path ):
1066810668 """
1066910669 Scenario:
1067010670 - Create a seed model; perform initial population
1067110671 - Modify the model with a metadata-only change and trigger a plan
1067210672
1067310673 Outcome:
1067410674 - The seed model is modified (metadata-only) but this should NOT trigger backfill
10675- - To prevent backfill, the categorizer needs to set forward_only on the seed
10675+ - There should be no missing_intervals on the plan to backfill
1067610676 """
1067710677
1067810678 models_path = tmp_path / "models"
@@ -10703,7 +10703,6 @@ def test_seed_model_metadata_update_sets_forward_only(tmp_path: Path):
1070310703 plan = ctx .plan (auto_apply = True )
1070410704
1070510705 original_seed_snapshot = ctx .snapshots ['"memory"."test"."source_data"' ]
10706- assert not original_seed_snapshot .forward_only
1070710706 assert plan .directly_modified == {original_seed_snapshot .snapshot_id }
1070810707 assert plan .metadata_updated == set ()
1070910708 assert plan .missing_intervals
@@ -10735,9 +10734,6 @@ def test_seed_model_metadata_update_sets_forward_only(tmp_path: Path):
1073510734 assert plan .has_changes
1073610735
1073710736 new_seed_snapshot = ctx .snapshots ['"memory"."test"."source_data"' ]
10738- assert (
10739- new_seed_snapshot .forward_only
10740- ) # change needs to be applied as forward-only to prevent backfill
1074110737 assert (
1074210738 new_seed_snapshot .version == original_seed_snapshot .version
1074310739 ) # should be using the same physical table
0 commit comments