xupefei commented on code in PR #47815:
URL: https://github.com/apache/spark/pull/47815#discussion_r1756480825


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/SQLExecution.scala:
##########
@@ -44,14 +44,17 @@ object SQLExecution extends Logging {
 
   private def nextExecutionId: Long = _nextExecutionId.getAndIncrement
 
-  private val executionIdToQueryExecution = new ConcurrentHashMap[Long, 
QueryExecution]()
+  private[sql] val executionIdToQueryExecution = new ConcurrentHashMap[Long, 
QueryExecution]()

Review Comment:
   >does this work streaming queries too?
   No it's not. I have to change  
https://github.com/apache/spark/blob/8023504e69fdd037dea002e961b960fd9fa662ba/sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/StreamExecution.scala#L313
 to make it work. Will do as a follow-up.



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to