Skip to content

Commit a560700

Browse files
committed
Add plan summary of executed model kinds
1 parent 7b65484 commit a560700

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

sqlmesh/core/console.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3036,7 +3036,8 @@ def show_row_diff(
30363036
self._write(row_diff)
30373037

30383038

3039-
_CONSOLE: Console = NoopConsole()
3039+
# _CONSOLE: Console = NoopConsole()
3040+
_CONSOLE: Console = TerminalConsole()
30403041

30413042

30423043
def set_console(console: Console) -> None:

sqlmesh/core/plan/evaluator.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ def evaluate(
167167
plan, snapshots, promotion_result, deployability_index_for_evaluation
168168
)
169169

170+
if not plan.requires_backfill:
171+
self.console.log_success("Virtual Update executed successfully")
172+
170173
execute_environment_statements(
171174
adapter=self.snapshot_evaluator.adapter,
172175
environment_statements=plan.environment_statements or [],

0 commit comments

Comments
 (0)