Github user maropu commented on a diff in the pull request:
https://github.com/apache/spark/pull/21687#discussion_r199385955
--- Diff:
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/ConditionalExpressionSuite.scala
---
@@ -113,6 +113,35 @@ class ConditionalExpressionSuite extends SparkFunSuite
with ExpressionEvalHelper
assert(CaseWhen(Seq((c2, c4_notNull), (c3, c5))).nullable === true)
}
+ test("case when - nullability of nested types") {
--- End diff --
Can you check both codegen/non-codegen paths by using `checkEvaluation`?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]