hvanhovell commented on code in PR #47980:
URL: https://github.com/apache/spark/pull/47980#discussion_r1764036996


##########
sql/core/src/main/scala/org/apache/spark/sql/SparkSession.scala:
##########
@@ -1110,13 +1103,13 @@ object SparkSession extends Logging {
   private[sql] def getOrCloneSessionWithConfigsOff(
       session: SparkSession,
       configurations: Seq[ConfigEntry[Boolean]]): SparkSession = {
-    val configsEnabled = configurations.filter(session.conf.get[Boolean])
+    val configsEnabled = 
configurations.filter(session.sessionState.conf.getConf[Boolean])

Review Comment:
   In this PR I use the abstract class in sql/api the main interface. I did not 
really wanted to add support for this because it is not user facing, and 
because it requires me to move even more stuff into sql/api.



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