We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e8bcad commit 2c58167Copy full SHA for 2c58167
sqlmesh/core/plan/stages.py
@@ -584,11 +584,10 @@ def _get_audit_only_snapshots(
584
585
metadata_snapshots.append(snapshot)
586
587
+ # Bulk load all the previous snapshots
588
previous_snapshot_ids = [
589
s.previous_version.snapshot_id(s.name) for s in metadata_snapshots if s.previous_version
590
]
-
591
- # Bulk load all the previous snapshots
592
previous_snapshots = {
593
s.name: s for s in self.state_reader.get_snapshots(previous_snapshot_ids).values()
594
}
0 commit comments