dongjoon-hyun commented on a change in pull request #26316:
[SPARK-29604][SQL][2.4] Force initialize SessionState before initializing
HiveClient in SparkSQLEnv
URL: https://github.com/apache/spark/pull/26316#discussion_r340502749
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/streaming/StreamingQueryManager.scala
##########
@@ -196,6 +197,11 @@ class StreamingQueryManager private[sql] (sparkSession:
SparkSession) extends Lo
listenerBus.removeListener(listener)
}
+ /** Only exposed for testing. */
+ private[sql] def listListeners(): Array[StreamingQueryListener] = {
+ listenerBus.listeners.asScala.toArray
+ }
Review comment:
Got it. This API is added at `3.0.0` only.
----------------------------------------------------------------
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]