Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions sqlmesh/dbt/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,14 +314,6 @@ def model_kind(self, context: DbtContext) -> ModelKind:
**incremental_by_kind_kwargs,
)

incremental_by_time_str = collection_to_str(INCREMENTAL_BY_TIME_STRATEGIES)
incremental_by_unique_key_str = collection_to_str(
INCREMENTAL_BY_UNIQUE_KEY_STRATEGIES.union(["none"])
)
get_console().log_warning(
f"Using unmanaged incremental materialization for model '{self.canonical_name(context)}'. "
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.",
)
strategy = self.incremental_strategy or target.default_incremental_strategy(
IncrementalUnmanagedKind
)
Expand Down