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/10/08 05:42:18 UTC

[jira] [Resolved] (SPARK-23328) Disallow default value None in na.replace/replace when 'to_replace' is not a dictionary

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

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

> Disallow default value None in na.replace/replace when 'to_replace' is not a dictionary
> ---------------------------------------------------------------------------------------
>
>                 Key: SPARK-23328
>                 URL: https://issues.apache.org/jira/browse/SPARK-23328
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark, SQL
>    Affects Versions: 2.3.0
>            Reporter: Hyukjin Kwon
>            Priority: Major
>              Labels: bulk-closed
>
> We happened to set {{None}} as a default value via SPARK-19454 which is quite weird.
> Looks we better only do this when the input is dictionary.
> Please see https://github.com/apache/spark/pull/16793#issuecomment-362684399



--
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