Reynold Xin created SPARK-12771:
-----------------------------------
Summary: 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
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]