Yuming Wang created SPARK-33845: ----------------------------------- Summary: Improve SimplifyConditionals Key: SPARK-33845 URL: https://issues.apache.org/jira/browse/SPARK-33845 Project: Spark Issue Type: Improvement Components: SQL Affects Versions: 3.2.0 Reporter: Yuming Wang
Simplify If(cond, TrueLiteral, FalseLiteral) to cond. Simplify If(cond, FalseLiteral, TrueLiteral) to Not(cond). -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org