HeartSaVioR 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_r348318146
 
 

 ##########
 File path: 
sql/core/src/main/scala/org/apache/spark/sql/internal/SharedState.scala
 ##########
 @@ -113,10 +112,10 @@ private[sql] class SharedState(
   val cacheManager: CacheManager = new CacheManager
 
   /**
-   * A map of active streaming queries to the session specific 
StreamingQueryManager that manages
-   * the lifecycle of that stream.
+   * A class that holds [[StreamingQuery]] active across all sessions to 
manage the lifecycle
+   * of the stream.
    */
-  private[sql] val activeStreamingQueries = new ConcurrentHashMap[UUID, 
StreamingQueryManager]()
+  private[sql] val streamQueryStore: StreamQueryStore = new StreamQueryStore()
 
 Review comment:
   You can skip exposing the `type` here, as it's obvious.

----------------------------------------------------------------
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