You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/05/07 20:30:37 UTC

[GitHub] [spark] jose-torres commented on a change in pull request #24540: [SPARK-27253][SQL][FOLLOW-UP] Add a legacy flag to restore old session init behavior.

jose-torres commented on a change in pull request #24540: [SPARK-27253][SQL][FOLLOW-UP] Add a legacy flag to restore old session init behavior.
URL: https://github.com/apache/spark/pull/24540#discussion_r281817425
 
 

 ##########
 File path: core/src/main/scala/org/apache/spark/internal/config/package.scala
 ##########
 @@ -1309,4 +1309,10 @@ package object config {
     .bytesConf(ByteUnit.BYTE)
     .createOptional
 
+  private[spark] val LEGACY_SESSION_INIT_WITH_DEFAULTS =
+    ConfigBuilder("spark.legacy.sessionInitWithConfigDefaults")
+      .doc("Flag to revert to legacy behavior where a cloned SparkSession receives SparkConf " +
+        "defaults, dropping any overrides in its parent SparkSession.")
+      .booleanConf
+      .createWithDefault(false)
 
 Review comment:
   Moved and renamed.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org