1 parent a1be70b commit e6836f7Copy full SHA for e6836f7
1 file changed
sqlmesh/core/scheduler.py
@@ -180,11 +180,14 @@ def merged_missing_intervals(
180
ignore_cron=ignore_cron,
181
end_bounded=end_bounded,
182
)
183
+
184
+ deployability_index = deployability_index or DeployabilityIndex.all_deployable()
185
186
# Filtering snapshots after computing missing intervals because we need all snapshots in order
187
# to correctly infer start dates.
188
if selected_snapshots is not None:
189
snapshots_to_intervals = {
- s: i for s, i in snapshots_to_intervals.items() if s.name in selected_snapshots
190
+ s: i for s, i in snapshots_to_intervals.items() if s.name in selected_snapshots and not (deployability_index.is_representative(s) and not deployability_index.is_deployable(s))
191
}
192
return snapshots_to_intervals
193
0 commit comments