HyukjinKwon commented on a change in pull request #34732:
URL: https://github.com/apache/spark/pull/34732#discussion_r758064015
##########
File path: sql/core/src/main/scala/org/apache/spark/sql/SparkSession.scala
##########
@@ -97,11 +97,11 @@ class SparkSession private(
* since that would cause every new session to reinvoke Spark Session
Extensions on the currently
* running extensions.
*/
- private[sql] def this(sc: SparkContext) = {
+ private[sql] def this(sc: SparkContext, initialSessionOptions: Map[String,
String]) = {
Review comment:
Can we have another constructor: `private[sql] def this(sc:
SparkContext) = this(sc, Map.empty)` instead?
--
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]