wangyum commented on a change in pull request #30898: URL: https://github.com/apache/spark/pull/30898#discussion_r549539385
########## File path: sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/optimizer/SimplifyConditionalSuite.scala ########## @@ -243,4 +243,40 @@ class SimplifyConditionalSuite extends PlanTest with ExpressionEvalHelper with P Literal.create(null, IntegerType)) } } + + test("SPARK-33884: simplify CaseWhen clauses with (true and false) and (false and true)") { Review comment: The test adapt from https://github.com/apache/spark/blob/c2eac1de020bd64501acbdfe341f2f4b6657a6e9/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/optimizer/SimplifyConditionalSuite.scala#L203-L237 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org