Github user maropu commented on a diff in the pull request:
https://github.com/apache/spark/pull/21442#discussion_r191232017
--- Diff:
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/optimizer/OptimizeInSuite.scala
---
@@ -191,4 +206,21 @@ class OptimizeInSuite extends PlanTest {
comparePlans(optimized, correctAnswer)
}
+
+ test("OptimizedIn test: In empty list gets transformed to " +
+ "If(IsNotNull(v), FalseLiteral, Literal(null, BooleanType)) when value
is nullable") {
--- End diff --
nit: could you make the title simpler?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]