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

    https://github.com/apache/spark/pull/19981#discussion_r157581481
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/execution/metric/SQLMetricsTestUtils.scala
 ---
    @@ -31,16 +31,13 @@ import org.apache.spark.util.Utils
     
     
     trait SQLMetricsTestUtils extends SQLTestUtils {
    -
       import testImplicits._
     
    -  private def statusStore: SQLAppStatusStore = {
    -    new SQLAppStatusStore(sparkContext.statusStore.store)
    +  protected def currentExecutionIds(): Set[Long] = {
    +    spark.sharedState.statusStore.executionsList.map(_.executionId).toSet
    --- End diff --
    
    You can just call `statusStore` no?


---

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

Reply via email to