You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "XiDuo You (Jira)" <ji...@apache.org> on 2023/03/16 03:51:00 UTC

[jira] [Updated] (SPARK-42815) Subexpression elimination support shortcut conditional expression

     [ https://issues.apache.org/jira/browse/SPARK-42815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

XiDuo You updated SPARK-42815:
------------------------------
    Description: 
The subexpression 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.

  was:
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.


> 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
>            Priority: Minor
>
> The subexpression 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org