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

    https://github.com/apache/spark/pull/21258#discussion_r188401185
  
    --- Diff: 
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/ComplexTypeSuite.scala
 ---
    @@ -186,6 +186,37 @@ class ComplexTypeSuite extends SparkFunSuite with 
ExpressionEvalHelper {
         }
       }
     
    +  test("CreateMapFromArray") {
    --- End diff --
    
    Thanks. I already added tests with `Literal(null)`. Do you see tests with 
null children for operations to create collections or perform collection 
operations?
    
    Since I cannot find standard map with duplicated key, I cannot prepare test 
for duplicated array items.


---

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

Reply via email to