xupefei commented on code in PR #48120:
URL: https://github.com/apache/spark/pull/48120#discussion_r1831230414
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -3937,6 +3937,25 @@ object SQLConf {
.intConf
.createWithDefault(20)
+ val ARTIFACTS_SESSION_ISOLATION_ENABLED =
+ buildConf("spark.sql.artifact.isolation.enabled")
+ .internal()
+ .doc("When enabled, artifacts (such as JARs, files, archives) added to
one SparkSession " +
+ "are isolated from other sessions within the same Spark instance.")
+ .version("4.0.0")
+ .booleanConf
+ .createWithDefault(true)
+
+ val ARTIFACTS_SESSION_ISOLATION_ALWAYS_APPLY_CLASSLOADER =
Review Comment:
This:
https://github.com/xupefei/spark/actions/runs/11628160404/job/32382826661
It checks for the error message from the StubClassLoader.
--
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]