Skip to content

Commit dcbb1d4

Browse files
committed
Remove 'processed' and 'inserted' from console output
1 parent bb860fb commit dcbb1d4

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
@@ -4157,7 +4157,7 @@ def _create_evaluation_model_annotation(
41574157
) -> str:
41584158
annotation = None
41594159
num_rows_processed = str(rows_processed) if rows_processed else ""
4160-
rows_processed_str = f" ({num_rows_processed} rows processed)" if num_rows_processed else ""
4160+
rows_processed_str = f" ({num_rows_processed} rows)" if num_rows_processed else ""
41614161

41624162
if snapshot.is_audit:
41634163
annotation = "run standalone audit"
@@ -4167,11 +4167,7 @@ def _create_evaluation_model_annotation(
41674167
if snapshot.model.kind.is_view:
41684168
annotation = "recreate view"
41694169
if snapshot.model.kind.is_seed:
4170-
# no "processed" for seeds
4171-
seed_num_rows_inserted = (
4172-
f" ({num_rows_processed} rows inserted)" if num_rows_processed else ""
4173-
)
4174-
annotation = f"insert seed file{seed_num_rows_inserted}"
4170+
annotation = f"insert seed file{rows_processed_str}"
41754171
if snapshot.model.kind.is_full:
41764172
annotation = f"full refresh{rows_processed_str}"
41774173
if snapshot.model.kind.is_incremental_by_unique_key:

0 commit comments

Comments
 (0)