spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-12771) Improve code generation for CaseWhen
Date Thu, 14 Jan 2016 06:17:39 GMT

    [ https://issues.apache.org/jira/browse/SPARK-12771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15097685#comment-15097685
] 

Apache Spark commented on SPARK-12771:
--------------------------------------

User 'rxin' has created a pull request for this issue:
https://github.com/apache/spark/pull/10755

> 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


Mime
View raw message