Github user rxin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/5282#discussion_r27457879
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/DataFrameNaFunctions.scala ---
    @@ -189,6 +189,128 @@ final class DataFrameNaFunctions private[sql](df: 
DataFrame) {
        */
       def fill(valueMap: Map[String, Any]): DataFrame = fill0(valueMap.toSeq)
     
    +  /**
    +   * Replaces values matching keys in `replacement` map with the 
corresponding values.
    +   * Key and value of `replacement` map must have the same type, and can 
only be doubles or strings.
    +   * If `col` is "*", then the replacement is applied on all string 
columns or numeric columns.
    --- End diff --
    
    What about it? I don't think there is anything special -- it should not 
match anything.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to