c21 commented on a change in pull request #30138: URL: https://github.com/apache/spark/pull/30138#discussion_r511319323
########## File path: sql/core/src/main/scala/org/apache/spark/sql/SparkSession.scala ########## @@ -1077,6 +1077,27 @@ object SparkSession extends Logging { throw new IllegalStateException("No active or default Spark session found"))) } + /** + * Returns a cloned SparkSession with all specified configurations disabled, or + * the original SparkSession if all configurations are already disabled. + * + * @since 3.1.0 + */ + def getOrCloneSessionWithConfigsOff( Review comment: curious why we need to add this? what's the issue we are preventing? also why `private[spark]` but not `private[sql]`? ---------------------------------------------------------------- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org