dongjoon-hyun commented on a change in pull request #26201: 
[SPARK-29543][SS][UI] Init structured streaming ui
URL: https://github.com/apache/spark/pull/26201#discussion_r338765370
 
 

 ##########
 File path: 
sql/core/src/main/scala/org/apache/spark/sql/internal/SharedState.scala
 ##########
 @@ -112,6 +113,11 @@ private[sql] class SharedState(
    */
   val cacheManager: CacheManager = new CacheManager
 
+  /**
+   * Class for caching streaming query instance.
+   */
+  val streamQueryStore: StreamQueryStore = new StreamQueryStore()
 
 Review comment:
   Can we reuse the existing `activeStreamingQueries` at line 125?
   If we gets all `StreamingQueryManager`, it seems that you can get all active 
queries by `StreamingQueryManager.activeQueries` invocation.
   
   cc @brkyvz since he added `activeStreamingQueries` recently.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to