WeichenXu123 commented on code in PR #40297: URL: https://github.com/apache/spark/pull/40297#discussion_r1133521342
########## connector/connect/server/src/main/scala/org/apache/spark/sql/connect/service/SparkConnectService.scala: ########## @@ -210,7 +211,12 @@ class SparkConnectService(debug: Boolean) * @param userId * @param session */ -case class SessionHolder(userId: String, sessionId: String, session: SparkSession) +case class SessionHolder( + userId: String, + sessionId: String, + session: SparkSession, + mlCache: MLCache = MLCache() Review Comment: But the modelCache has ml specific attribute, like `modelToHandlerMap`. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org