gengliangwang commented on a change in pull request #31830:
URL: https://github.com/apache/spark/pull/31830#discussion_r594831027



##########
File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/SQLExecution.scala
##########
@@ -87,6 +87,11 @@ object SQLExecution {
       val planDescriptionMode =
         ExplainMode.fromString(sparkSession.sessionState.conf.uiExplainMode)
 
+      val globalConfigs = sparkSession.sharedState.conf.getAll.toMap
+      val modifiedConfigs = sparkSession.sessionState.conf.getAllConfs
+        .filterNot(kv => globalConfigs.get(kv._1).contains(kv._2))

Review comment:
       How much time will be spent on getting the modifiedConfigs 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.

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