You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2020/03/26 11:08:00 UTC

[jira] [Resolved] (SPARK-31242) Clone SparkSession should respect spark.sql.legacy.sessionInitWithConfigDefaults

     [ https://issues.apache.org/jira/browse/SPARK-31242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wenchen Fan resolved SPARK-31242.
---------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

Issue resolved by pull request 28014
[https://github.com/apache/spark/pull/28014]

> Clone SparkSession should respect spark.sql.legacy.sessionInitWithConfigDefaults
> --------------------------------------------------------------------------------
>
>                 Key: SPARK-31242
>                 URL: https://issues.apache.org/jira/browse/SPARK-31242
>             Project: Spark
>          Issue Type: Test
>          Components: SQL
>    Affects Versions: 3.1.0
>            Reporter: wuyi
>            Assignee: wuyi
>            Priority: Major
>             Fix For: 3.0.0
>
>
> In SQL test, a conf specified by `withSQLConf` can be reverted to "original value" after cloning SparkSession if the "original value" is already set in SparkConf level. Because in `WithTestConf`, it doesn't  respect spark.sql.legacy.sessionInitWithConfigDefaults and always merge SQLConf with SparkConf.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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