You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2018/07/23 17:34:00 UTC
[jira] [Assigned] (SPARK-24890) Short circuiting the `if` condition
when `trueValue` and `falseValue` are the same
[ https://issues.apache.org/jira/browse/SPARK-24890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-24890:
------------------------------------
Assignee: Apache Spark
> Short circuiting the `if` condition when `trueValue` and `falseValue` are the same
> ----------------------------------------------------------------------------------
>
> Key: SPARK-24890
> URL: https://issues.apache.org/jira/browse/SPARK-24890
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 2.3.0
> Reporter: DB Tsai
> Assignee: Apache Spark
> Priority: Major
>
> When `trueValue` and `falseValue` are semantic equivalence, the condition expression in `if` can be removed to avoid extra computation in runtime.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org