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

    https://github.com/apache/spark/pull/21152#discussion_r184315510
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/streaming/continuous/ContinuousSuite.scala
 ---
    @@ -66,157 +66,115 @@ class ContinuousSuite extends ContinuousSuiteBase {
         val input = ContinuousMemoryStream[Int]
     
         testStream(input.toDF())(
    -      AddData(input, 0, 1, 2),
    -      CheckAnswer(0, 1, 2),
    +      AddData(input, 0.to(2): _*),
    +      CheckAnswer(0.to(2): _*),
           StopStream,
    -      AddData(input, 3, 4, 5),
    +      AddData(input, 3.to(5): _*),
           StartStream(),
    -      CheckAnswer(0, 1, 2, 3, 4, 5))
    +      CheckAnswer(0.to(5): _*))
    --- End diff --
    
    Nit: the changes seems unnecessary. Also in Spark we usually use style `(1 
to 5): _*` instead.


---

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

Reply via email to