Skip to content

Commit febb7aa

Browse files
committed
use_finalized_state can't be used with non-full vde
1 parent 543a309 commit febb7aa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sqlmesh/core/config/root.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,11 @@ def _normalize_identifiers(key: str) -> None:
264264
"Please specify one or the other"
265265
)
266266

267+
if self.plan.use_finalized_state and not self.virtual_environment_mode.is_full:
268+
raise ConfigError(
269+
"Using the finalized state is only supported when `virtual_environment_mode` is set to `full`."
270+
)
271+
267272
if self.environment_catalog_mapping:
268273
_normalize_identifiers("environment_catalog_mapping")
269274
if self.physical_schema_mapping:

0 commit comments

Comments
 (0)