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

DB Tsai reassigned SPARK-24892:
-------------------------------

    Assignee: DB Tsai

> Simplify `CaseWhen` to `If` when there is only one branch
> ---------------------------------------------------------
>
>                 Key: SPARK-24892
>                 URL: https://issues.apache.org/jira/browse/SPARK-24892
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.3.0
>            Reporter: DB Tsai
>            Assignee: DB Tsai
>            Priority: Major
>
> After the rule of removing the unreachable branches, it could be only one 
> branch left. In this situation, `CaseWhen` can be converted to `If` to do 
> further optimization.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to