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 2018/02/03 18:43:00 UTC

[jira] [Created] (SPARK-23328) Disallow default value None when 'to_replace' is not a dictionary

Hyukjin Kwon created SPARK-23328:
------------------------------------

             Summary: Disallow default value None 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


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
(v7.6.3#76005)

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