HyukjinKwon commented on code in PR #48777:
URL: https://github.com/apache/spark/pull/48777#discussion_r1831507899


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/DataSourceManager.scala:
##########
@@ -99,7 +99,7 @@ object DataSourceManager extends Logging {
 
   private def normalize(name: String): String = name.toLowerCase(Locale.ROOT)
 
-  private def initialStaticDataSourceBuilders: Map[String, 
UserDefinedPythonDataSource] = {
+  private lazy val initialStaticDataSourceBuilders: Map[String, 
UserDefinedPythonDataSource] = {

Review Comment:
   For now, it happens every session creation. Yeah, let me file a JIRA



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