We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5850c6a commit 010292bCopy full SHA for 010292b
sqlmesh/core/plan/builder.py
@@ -582,10 +582,7 @@ def _ensure_no_forward_only_revert(self) -> None:
582
and not promoted.is_paused
583
and not candidate.is_forward_only
584
and not candidate.is_indirect_non_breaking
585
- and (
586
- promoted.version == candidate.version
587
- or candidate.data_version in promoted.previous_versions
588
- )
+ and promoted.version == candidate.version
589
):
590
raise PlanError(
591
f"Attempted to revert to an unrevertable version of model '{name}'. Run `sqlmesh plan` again to mitigate the issue."
0 commit comments