Skip to content
Merged
Changes from all commits
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
4 changes: 3 additions & 1 deletion sqlmesh/core/snapshot/definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,9 @@ def get_removal_interval(

# only warn if the requested removal interval was a subset of the actual model intervals and was automatically expanded
# if the requested interval was the same or wider than the actual model intervals, no need to warn
if requested_start > expanded_start or requested_end < expanded_end:
if (
requested_start > expanded_start or requested_end < expanded_end
) and self.is_incremental:
from sqlmesh.core.console import get_console

get_console().log_warning(
Expand Down