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

    https://github.com/apache/spark/pull/20637#discussion_r213689187
  
    --- Diff: 
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/ExpressionEvalHelperSuite.scala
 ---
    @@ -35,6 +35,24 @@ class ExpressionEvalHelperSuite extends SparkFunSuite 
with ExpressionEvalHelper
         val e = intercept[RuntimeException] { 
checkEvaluation(BadCodegenExpression(), 10) }
         assert(e.getMessage.contains("some_variable"))
       }
    +
    +  test("SPARK-23466: checkEvaluationWithUnsafeProjection should fail if 
null is compared with " +
    --- End diff --
    
    @cloud-fan This test tries to confirm whether `Array(null, -1, 0, 1)` with 
`ArrayType(IntegerType, false)` in `expression2` should fail when it is 
compared with `expected = Array(null, -1, 0, 1) `.


---

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

Reply via email to