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

    https://github.com/apache/spark/pull/21700#discussion_r202920067
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/execution/streaming/state/StateStoreSuite.scala
 ---
    @@ -64,21 +64,122 @@ class StateStoreSuite extends 
StateStoreSuiteBase[HDFSBackedStateStoreProvider]
         require(!StateStore.isMaintenanceRunning)
       }
     
    +  def updateVersionTo(provider: StateStoreProvider, currentVersion: => Int,
    +                      targetVersion: Int): Int = {
    --- End diff --
    
    Why are you using `=> Int` for `currentVersion` instead of simply using 
`Int`?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to