XiDuo You created SPARK-42815: --------------------------------- Summary: Subexpression elimination support shortcut conditional expression Key: SPARK-42815 URL: https://issues.apache.org/jira/browse/SPARK-42815 Project: Spark Issue Type: Improvement Components: SQL Affects Versions: 3.5.0 Reporter: XiDuo You
The subexpression in conditional expression may not need to eval even if it appears more than once. e.g., `if(or(a, and(b, b)))`, the expression `b` would be skipped if `a` is true. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org