juliuszsompolski commented on code in PR #48034:
URL: https://github.com/apache/spark/pull/48034#discussion_r1751639015


##########
sql/connect/server/src/main/scala/org/apache/spark/sql/connect/service/SparkConnectExecutionManager.scala:
##########
@@ -61,6 +60,7 @@ private[connect] class SparkConnectExecutionManager() extends 
Logging {
   private var lastExecutionTimeMs: Option[Long] = 
Some(System.currentTimeMillis())

Review Comment:
   `lastExecutionTimeMs` was originally introduced so that some system managing 
the Spark cluster could check if it's idle and for how long it's idle. Such a 
monitoring system would call SparkConnectExecutionManager.listActiveExecutions 
to either know what queries are running in the system, or otherwise learn since 
when the system is idle.
   I am not sure if it got to be used in practice.



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