pan3793 commented on code in PR #5184:
URL: https://github.com/apache/kyuubi/pull/5184#discussion_r1299961729
##########
externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/spark/kyuubi/SparkConsoleProgressBar.scala:
##########
@@ -86,7 +86,7 @@ class SparkConsoleProgressBar(
val w = width - header.length - tailer.length
val bar =
if (w > 0) {
- val percent = w * s.numCompleteTasks / total
+ val percent = w * s.numCompleteTasks.get() / total
Review Comment:
nit: eliminate `()` on pure function invocation without side-effect
```suggestion
val percent = w * s.numCompleteTasks.get / total
```
--
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]