panbingkun commented on code in PR #46264:
URL: https://github.com/apache/spark/pull/46264#discussion_r1582496007
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/r/ArrowRRunner.scala:
##########
@@ -161,17 +166,14 @@ class ArrowRRunner(
val input = dataStream.readDouble
val compute = dataStream.readDouble
val output = dataStream.readDouble
- logInfo(
- ("Times: boot = %.3f s, init = %.3f s, broadcast = %.3f s, " +
- "read-input = %.3f s, compute = %.3f s, write-output = %.3f
s, " +
- "total = %.3f s").format(
- boot,
- init,
- broadcast,
- input,
- compute,
- output,
- boot + init + broadcast + input + compute + output))
+ logInfo(log"Times: boot = ${MDC(LogKeys.BOOT, format(boot))} s,
" +
Review Comment:
I'm not sure whether to prefix the following keys as `R_`
--
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]