Skip to content

Commit 275016a

Browse files
committed
Remove 'processed' and 'inserted' from console output
1 parent b63f052 commit 275016a

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
@@ -4149,7 +4149,7 @@ def _create_evaluation_model_annotation(
41494149
) -> str:
41504150
annotation = None
41514151
num_rows_processed = str(rows_processed) if rows_processed else ""
4152-
rows_processed_str = f" ({num_rows_processed} rows processed)" if num_rows_processed else ""
4152+
rows_processed_str = f" ({num_rows_processed} rows)" if num_rows_processed else ""
41534153

41544154
if snapshot.is_audit:
41554155
annotation = "run standalone audit"
@@ -4159,11 +4159,7 @@ def _create_evaluation_model_annotation(
41594159
if snapshot.model.kind.is_view:
41604160
annotation = "recreate view"
41614161
if snapshot.model.kind.is_seed:
4162-
# no "processed" for seeds
4163-
seed_num_rows_inserted = (
4164-
f" ({num_rows_processed} rows inserted)" if num_rows_processed else ""
4165-
)
4166-
annotation = f"insert seed file{seed_num_rows_inserted}"
4162+
annotation = f"insert seed file{rows_processed_str}"
41674163
if snapshot.model.kind.is_full:
41684164
annotation = f"full refresh{rows_processed_str}"
41694165
if snapshot.model.kind.is_incremental_by_unique_key:

0 commit comments

Comments
 (0)