changgyoopark-db commented on code in PR #48034:
URL: https://github.com/apache/spark/pull/48034#discussion_r1751714503
##########
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:
Yes, it seems safe, couldn't find a counter example. -> anyway I need to add
a check (!empty) before setting it to None.
--
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]