hvanhovell commented on a change in pull request #24189: 
[SPARK-27253][SQL]SparkSession clone discards SQLConf overrides in favor of 
SparkConf defaults
URL: https://github.com/apache/spark/pull/24189#discussion_r268991009
 
 

 ##########
 File path: sql/core/src/main/scala/org/apache/spark/sql/SparkSession.scala
 ##########
 @@ -265,7 +265,15 @@ class SparkSession private(
    * implementation is Hive, this will initialize the metastore, which may 
take some time.
    */
   private[sql] def cloneSession(): SparkSession = {
+    val existingSessionConf = sessionState.conf.getAllConfs
 
 Review comment:
   Different question, why are these confs not copied over the in the 
`BaseSessionStateBuilder`?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to