Github user viirya commented on a diff in the pull request:
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/DataFrameNaFunctionsSuite.scala ---
    @@ -261,5 +261,18 @@ class DataFrameNaFunctionsSuite extends QueryTest with 
SharedSQLContext {
         assert(out1(4) === Row("Amy", null, null))
         assert(out1(5) === Row(null, null, null))
    +    // Replace with null
    +    val out2 ="name", Map(
    +      "Bob" -> "Bravo",
    +      "Alice" -> null
    --- End diff --
    I saw you allow a replacement like (k: Double, null). Can you also add a 
test for such replacement? Thanks.

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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to