Skip to content
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.

Commit

Permalink
Merge pull request #555 from gsgalloway/patch-1
Browse files Browse the repository at this point in the history
Small fix for BigtableIO's WriteOperation.finalize
  • Loading branch information
dhalperi authored Mar 2, 2017
2 parents fc5fee2 + 4a9f164 commit c4bff0b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -976,9 +976,9 @@ public void initialize(PipelineOptions options) {}
public void finalize(Iterable<Long> writerResults, PipelineOptions options) {
long count = 0;
for (Long value : writerResults) {
value += count;
count += value;
}
logger.debug("Wrote {} elements to BigtableIO.Sink {}", sink);
logger.debug("Wrote {} elements to BigtableIO.Sink {}", count, sink);
}

@Override
Expand Down

0 comments on commit c4bff0b

Please sign in to comment.