You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2016/01/12 09:05:39 UTC
[jira] [Created] (SPARK-12771) Improve code generation for CaseWhen
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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org