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

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

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

> Add Null Filters in the query plan for Filters/Joins based on their data 
> constraints
> ------------------------------------------------------------------------------------
>
>                 Key: SPARK-13495
>                 URL: https://issues.apache.org/jira/browse/SPARK-13495
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Sameer Agarwal
>             Fix For: 2.0.0
>
>
> We should add an optimizer rule that attempts to eliminate reading 
> (unnecessary) NULL values if they are not required for correctness by 
> inserting isNotNull filters is the query plan. These filters should be 
> inserted beneath existing Filters and Join operators and are inferred based 
> on their data constraints.
> For example, if we have filter on a = 10, we know that null values will not 
> pass this predicate. So, we can add a IsNotNull below it.
> cc [~yhuai] [~nongli]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to