You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yin Huai (JIRA)" <ji...@apache.org> on 2016/03/09 00:41:40 UTC

[jira] [Resolved] (SPARK-13668) Reorder filter/join predicates to short-circuit isNotNull checks

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

Yin Huai resolved SPARK-13668.
------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

Issue resolved by pull request 11511
[https://github.com/apache/spark/pull/11511]

> Reorder filter/join predicates to short-circuit isNotNull checks
> ----------------------------------------------------------------
>
>                 Key: SPARK-13668
>                 URL: https://issues.apache.org/jira/browse/SPARK-13668
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Sameer Agarwal
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> If a filter predicate or a join condition consists of `IsNotNull` checks, we should reorder these checks such that these non-nullability checks are evaluated before the rest of the predicates.
> For e.g., if a filter predicate is of the form `a > 5 && isNotNull(b)`, we should rewrite this as `isNotNull(b) && a > 5` during physical plan generation.
> cc [~nongli] [~yhuai]



--
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