GitHub user liancheng opened a pull request:

    https://github.com/apache/spark/pull/4623

    [SPARK-5296] [SQL] Add more filter types for data sources API

    This PR adds the following filter types for data sources API:
    
    - `IsNull`
    - `IsNotNull`
    - `Not`
    - `And`
    - `Or`
    
    The code which converts Catalyst predicate expressions to data sources 
filters is very similar to filter conversion logics in `ParquetFilters` which 
converts Catalyst predicates to Parquet filter predicates. In this way we can 
support nested AND/OR/NOT predicates without changing current `BaseScan` type 
hierarchy.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/liancheng/spark more-fiters

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/4623.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4623
    
----
commit 1b296f469556bea77e3a65a0c2e8af7fe1035b76
Author: Cheng Lian <[email protected]>
Date:   2015-02-16T09:02:53Z

    Add more filter types for data sources API

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to