diff --git a/pylib/cqlshlib/copyutil.py b/pylib/cqlshlib/copyutil.py index e85558c7b0..3f7c091bb9 100644 --- a/pylib/cqlshlib/copyutil.py +++ b/pylib/cqlshlib/copyutil.py @@ -1238,7 +1238,7 @@ class ImportTask(CopyTask): attempts -= 1 self.printmsg("\n%d rows imported from %d files in %s (%d skipped)." % - (self.receive_meter.get_total_records(), + (self.receive_meter.get_total_records() - self.error_handler.num_rows_failed, self.feeding_result.num_sources if self.feeding_result else 0, self.describe_interval(time.time() - self.time_start), self.feeding_result.skip_rows if self.feeding_result else 0))