[ 
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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to