hvanhovell commented on code in PR #48320:
URL: https://github.com/apache/spark/pull/48320#discussion_r1792401395


##########
sql/core/src/main/scala/org/apache/spark/sql/internal/SessionState.scala:
##########
@@ -106,7 +106,14 @@ private[sql] class SessionState(
   // when connecting to ThriftServer.
   lazy val streamingQueryManager: StreamingQueryManager = 
streamingQueryManagerBuilder()
 
-  lazy val artifactManager: ArtifactManager = artifactManagerBuilder()
+  private[sql] var _artifactManager: Option[ArtifactManager] = None
+
+  def artifactManager: ArtifactManager = {

Review Comment:
   Why is this a def? Can we please make it a lazy val.



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