Skip to content

Commit d6d992c

Browse files
committed
fix: traverse target snapshots instead of all snapshots
1 parent af3a16f commit d6d992c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlmesh/core/snapshot/evaluator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ def migrate(
494494
with self.concurrent_context():
495495
# Only migrate snapshots for which there's an existing data object
496496
concurrent_apply_to_snapshots(
497-
snapshots_by_name.values(),
497+
target_snapshots,
498498
lambda s: self._migrate_snapshot(
499499
s,
500500
snapshots_by_name,

0 commit comments

Comments
 (0)