heyihong commented on code in PR #54056:
URL: https://github.com/apache/spark/pull/54056#discussion_r2782743611
##########
sql/connect/server/src/main/scala/org/apache/spark/sql/connect/service/SessionHolder.scala:
##########
@@ -332,7 +333,7 @@ case class SessionHolder(userId: String, sessionId: String,
session: SparkSessio
// called only once, since removing the session from
SparkConnectSessionManager.sessionStore is
// synchronized and guaranteed to happen only once.
if (closedTimeMs.isDefined) {
- throw new IllegalStateException(s"Session $key is already closed.")
+ throw IllegalStateErrors.sessionAlreadyClosed(sessionId)
Review Comment:
key is missing?
--
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]