dongjoon-hyun commented on code in PR #48120:
URL: https://github.com/apache/spark/pull/48120#discussion_r1874105102


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -3937,6 +3937,28 @@ object SQLConf {
     .intConf
     .createWithDefault(20)
 
+  val ARTIFACTS_SESSION_ISOLATION_ENABLED =
+    buildConf("spark.sql.artifact.isolation.enabled")
+      .internal()
+      .doc("When enabled for a Spark Session, artifacts (such as JARs, files, 
archives) added to " +
+        "this session are isolated from other sessions within the same Spark 
instance. When " +
+        "disabled for a session, artifacts added to this session are visible 
to other sessions " +
+        "that have this config disabled. This config can only be set during 
the creation of a " +
+        "Spark Session and will have no effect when changed in the middle of 
session usage.")
+      .version("4.0.0")
+      .booleanConf
+      .createWithDefault(true)
+
+  val ARTIFACTS_SESSION_ISOLATION_ALWAYS_APPLY_CLASSLOADER =
+    buildConf("spark.sql.artifact.isolation.always.apply.classloader")

Review Comment:
   Unfortunately, this looks like a violation of Apache Spark configuration 
rule. I made a follow-up.
   - https://github.com/apache/spark/pull/49101



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