Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20016#discussion_r157925457
  
    --- Diff: examples/src/main/scala/org/apache/spark/examples/HdfsTest.scala 
---
    @@ -39,7 +39,7 @@ object HdfsTest {
           val start = System.currentTimeMillis()
           for (x <- mapped) { x + 2 }
           val end = System.currentTimeMillis()
    -      println("Iteration " + iter + " took " + (end-start) + " ms")
    +      println(s"Iteration ${iter} took ${(end-start)} ms")
    --- End diff --
    
    Let's just write as `$iter` and `$end-start`


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to