Skip to content

Commit 1a659ca

Browse files
committed
Remove 'processed' and 'inserted' from console output
1 parent 335feb5 commit 1a659ca

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

sqlmesh/core/console.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4183,7 +4183,7 @@ def _create_evaluation_model_annotation(
41834183
) -> str:
41844184
annotation = None
41854185
num_rows_processed = str(rows_processed) if rows_processed else ""
4186-
rows_processed_str = f" ({num_rows_processed} rows processed)" if num_rows_processed else ""
4186+
rows_processed_str = f" ({num_rows_processed} rows)" if num_rows_processed else ""
41874187

41884188
if snapshot.is_audit:
41894189
annotation = "run standalone audit"
@@ -4193,11 +4193,7 @@ def _create_evaluation_model_annotation(
41934193
if snapshot.model.kind.is_view:
41944194
annotation = "recreate view"
41954195
if snapshot.model.kind.is_seed:
4196-
# no "processed" for seeds
4197-
seed_num_rows_inserted = (
4198-
f" ({num_rows_processed} rows inserted)" if num_rows_processed else ""
4199-
)
4200-
annotation = f"insert seed file{seed_num_rows_inserted}"
4196+
annotation = f"insert seed file{rows_processed_str}"
42014197
if snapshot.model.kind.is_full:
42024198
annotation = f"full refresh{rows_processed_str}"
42034199
if snapshot.model.kind.is_incremental_by_unique_key:

0 commit comments

Comments
 (0)