pabloem commented on a change in pull request #15429:
URL: https://github.com/apache/beam/pull/15429#discussion_r699634493
##########
File path:
sdks/java/io/jdbc/src/main/java/org/apache/beam/sdk/io/jdbc/JdbcIO.java
##########
@@ -1694,6 +1700,7 @@ private void executeBatch() throws SQLException,
IOException, InterruptedExcepti
if (records.isEmpty()) {
return;
}
+ Long startTimeNs = System.nanoTime();
Review comment:
`currentTimeMillis` may be affected by clock adjustments in the machine,
while `nanoTime` measures ellapsed time in the machine, so it will not be
affected by that.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]