You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:36:04 UTC

[jira] [Resolved] (SPARK-15993) PySpark RuntimeConfig should be immutable

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

Hyukjin Kwon resolved SPARK-15993.
----------------------------------
    Resolution: Incomplete

> PySpark RuntimeConfig should be immutable
> -----------------------------------------
>
>                 Key: SPARK-15993
>                 URL: https://issues.apache.org/jira/browse/SPARK-15993
>             Project: Spark
>          Issue Type: Improvement
>          Components: PySpark
>    Affects Versions: 2.0.0
>            Reporter: Vladimir Feinberg
>            Priority: Trivial
>              Labels: bulk-closed
>
> {{pyspark.sql.RuntimeConfig}} should be immutable because changing its value does nothing, which only leads to a confusing API (I tried to change a config param by extracting the config of a running {{SparkSession}}, but failed to realize I need to relaunch it).
> Furthermore, {{RuntimeConfig}} is unlike {{SparkConf}} in that it can't ever be used to specify a configuration when building a {{SparkSession}} anyway - it's only purpose is to figure out an existing session's params.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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