[
https://issues.apache.org/jira/browse/SPARK-23328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16351482#comment-16351482
]
Apache Spark commented on SPARK-23328:
--------------------------------------
User 'HyukjinKwon' has created a pull request for this issue:
https://github.com/apache/spark/pull/20499
> 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
> Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]