Github user gengliangwang commented on a diff in the pull request:
https://github.com/apache/spark/pull/22390#discussion_r216575336
--- Diff:
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/optimizer/BooleanSimplificationSuite.scala
---
@@ -48,6 +48,14 @@ class BooleanSimplificationSuite extends PlanTest with
PredicateHelper {
testRelation.output, Seq(Row(1, 2, 3, "abc"))
)
+ val testNotnullableRelation = LocalRelation('a.int.notNull,
'b.int.notNull, 'c.int.notNull,
+ 'd.string.notNull, 'e.boolean.notNull, 'f.boolean.notNull,
'g.boolean.notNull,
+ 'h.boolean.notNull)
+
+ val testNotnullableRelationWithData = LocalRelation.fromExternalRows(
--- End diff --
`testNotnullableRelationWithData` => `testNotNullableRelationWithData`
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]