xupefei commented on code in PR #48120:
URL: https://github.com/apache/spark/pull/48120#discussion_r1831073119
##########
sql/connect/server/src/main/scala/org/apache/spark/sql/connect/service/SparkConnectServer.scala:
##########
@@ -28,7 +29,11 @@ object SparkConnectServer extends Logging {
def main(args: Array[String]): Unit = {
// Set the active Spark Session, and starts SparkEnv instance (via Spark
Context)
logInfo("Starting Spark session.")
- val session = SparkSession.builder().getOrCreate()
+ val session = SparkSession
+ .builder()
+ .config(SQLConf.ARTIFACTS_SESSION_ISOLATION_ENABLED.key, true)
Review Comment:
I removed setting this flag before but some connect tests are failing
afterwards, seems not to get the default value. Now I added it back to make
sure the isolation is indeed enabled.
--
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]