Skip to content

Commit c47445c

Browse files
committed
Chore: Remove obsolete warning when converting a dbt project
1 parent 128ffe1 commit c47445c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

sqlmesh/dbt/model.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -314,14 +314,6 @@ def model_kind(self, context: DbtContext) -> ModelKind:
314314
**incremental_by_kind_kwargs,
315315
)
316316

317-
incremental_by_time_str = collection_to_str(INCREMENTAL_BY_TIME_STRATEGIES)
318-
incremental_by_unique_key_str = collection_to_str(
319-
INCREMENTAL_BY_UNIQUE_KEY_STRATEGIES.union(["none"])
320-
)
321-
get_console().log_warning(
322-
f"Using unmanaged incremental materialization for model '{self.canonical_name(context)}'. "
323-
f"Some features might not be available. Consider adding either a time_column ({incremental_by_time_str}) or a unique_key ({incremental_by_unique_key_str}) configuration to mitigate this.",
324-
)
325317
strategy = self.incremental_strategy or target.default_incremental_strategy(
326318
IncrementalUnmanagedKind
327319
)

0 commit comments

Comments
 (0)