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

    https://github.com/apache/spark/pull/8492#discussion_r38229685
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/DataFrameFunctionsSuite.scala ---
    @@ -382,15 +378,13 @@ class DataFrameFunctionsSuite extends QueryTest with 
SharedSQLContext {
           df.selectExpr("array_contains(null, 1)")
         }
     
    -    // In hive, if either argument has a matching type has a null value, 
return false, even if
    -    // the first argument array contains a null and the second argument is 
null
         checkAnswer(
    -      df.selectExpr("array_contains(array(array(1), null)[1], 1)"),
    -      Seq(Row(false), Row(false))
    +      df.selectExpr("array_contains(array(array(1), null)[0], 1)"),
    +      Seq(Row(true), Row(true))
    --- End diff --
    
    Will add this to CollectionFunctionSuite


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