wangyum commented on code in PR #42049:
URL: https://github.com/apache/spark/pull/42049#discussion_r1269468209
##########
sql/core/src/main/scala/org/apache/spark/sql/SparkSession.scala:
##########
@@ -1103,7 +1103,9 @@ object SparkSession extends Logging {
loadExtensions(extensions)
applyExtensions(sparkContext, extensions)
- session = new SparkSession(sparkContext, None, None, extensions,
options.toMap)
+ // Some config might supplemented. For example:
spark.driver.extraJavaOptions.
+ val supplementedOptions = options.map { case (k, _) => k ->
sparkContext.conf.get(k) }
Review Comment:
Makes it exclude configs starting with `SPARK_DRIVER_PREFIX` and
`SPARK_EXECUTOR_PREFIX`.
--
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]