Skip to content

Commit e02bc5b

Browse files
committed
use_finalized_state can't be used with non-full vde
1 parent fe7005e commit e02bc5b

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
@@ -261,6 +261,11 @@ def _normalize_identifiers(key: str) -> None:
261261
"Please specify one or the other"
262262
)
263263

264+
if self.plan.use_finalized_state and not self.virtual_environment_mode.is_full:
265+
raise ConfigError(
266+
"Using the finalized state is only supported when `virtual_environment_mode` is set to `full`."
267+
)
268+
264269
if self.environment_catalog_mapping:
265270
_normalize_identifiers("environment_catalog_mapping")
266271
if self.physical_schema_mapping:

0 commit comments

Comments
 (0)