hvanhovell commented on code in PR #48120:
URL: https://github.com/apache/spark/pull/48120#discussion_r1830964497
##########
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:
Why do we need this flag? It seems that we should be as lazy as possible
here.
--
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]