You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Michael Armbrust (JIRA)" <ji...@apache.org> on 2014/06/03 08:01:09 UTC

[jira] [Resolved] (SPARK-1461) Support Short-circuit Expression Evaluation

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

Michael Armbrust resolved SPARK-1461.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.1

> Support Short-circuit Expression Evaluation
> -------------------------------------------
>
>                 Key: SPARK-1461
>                 URL: https://issues.apache.org/jira/browse/SPARK-1461
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Cheng Hao
>            Assignee: Cheng Hao
>             Fix For: 1.0.1, 1.1.0
>
>
> Short-circuit expression evaluation impacts the performance significantly.
> e.g.
> In expression: (a>b) && (c>d), if a>b equals false or null, the expression value is false or null definitely without considering the value of sub expression c>d.
> However, if c or d contains a stateful UDF  (for example, the UDF row_sequence) as its child expression, we have to evaluate the stateful expression but ignore its result.



--
This message was sent by Atlassian JIRA
(v6.2#6252)