[ https://issues.apache.org/jira/browse/SPARK-33337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225886#comment-17225886 ]
Apache Spark commented on SPARK-33337: -------------------------------------- User 'viirya' has created a pull request for this issue: https://github.com/apache/spark/pull/30245 > Support subexpression elimination in branches of conditional expressions > ------------------------------------------------------------------------ > > Key: SPARK-33337 > URL: https://issues.apache.org/jira/browse/SPARK-33337 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 3.1.0 > Reporter: L. C. Hsieh > Assignee: L. C. Hsieh > Priority: Major > > Currently we skip subexpression elimination in branches of conditional > expressions including {{If}}, {{CaseWhen}}, and {{Coalesce}}. Actually we can > do subexpression elimination for such branches if the subexpression is common > across all branches. -- 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