yaooqinn commented on a change in pull request #28003: [SPARK-31234][SQL] ResetCommand should reset config to sc.conf only URL: https://github.com/apache/spark/pull/28003#discussion_r397633324
########## File path: sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala ########## @@ -3258,7 +3258,9 @@ class SQLConf extends Serializable with Logging { } def clear(): Unit = { + val reserved = settings.asScala.filterKeys(staticConfKeys.contains).toMap Review comment: it doesn't. If a user calls it, it will make the SparkConfs in SQLConf all gone ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org