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

Reynold Xin resolved SPARK-12771.
---------------------------------
       Resolution: Fixed
         Assignee: Reynold Xin
    Fix Version/s: 2.0.0

> Improve code generation for CaseWhen
> ------------------------------------
>
>                 Key: SPARK-12771
>                 URL: https://issues.apache.org/jira/browse/SPARK-12771
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Reynold Xin
>            Assignee: Reynold Xin
>             Fix For: 2.0.0
>
>
> The generated code for CaseWhen uses a control variable "got" to make sure we 
> do not evaluate more branches once a branch is true. Changing that to 
> generate just simple "if / else" would be slightly more efficient.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to