Skip to content

Commit

Permalink
CASSANDRA-16372 COPY FROM does not report failed rows as imported
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrrr authored and driftx committed Jan 12, 2021
1 parent 77e2205 commit c1008cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylib/cqlshlib/copyutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -1238,7 +1238,7 @@ def import_records(self):
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))
Expand Down

0 comments on commit c1008cc

Please sign in to comment.