abstractdog commented on code in PR #5544:
URL: https://github.com/apache/hive/pull/5544#discussion_r1855506598
##########
ql/src/java/org/apache/hadoop/hive/ql/exec/MoveTask.java:
##########
@@ -758,8 +759,8 @@ private DataContainer handleDynParts(Hive db, Table table,
LoadTableDesc tbd,
}
LOG.info("Loading partition " + entry.getKey());
}
- console.printInfo("\t Time taken for adding to write entity : " +
- (System.currentTimeMillis() - startTime)/1000.0 + " seconds");
+ console.printInfo(String.format("Time taken for adding to write entity:\t
%.3f seconds",
+ (System.currentTimeMillis() - startTime) / 1000.0));
Review Comment:
right, we're doing this currentTimeMillis thing all the time :D
I agree, let me fix this as I'm touching this part now
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]