GitHub user saucam opened a pull request:

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

    SPARK-3968 Use parquet-mr filter2 api in spark sql

    The parquet-mr project has introduced a new filter api  
(https://github.com/apache/incubator-parquet-mr/pull/4), along with several 
fixes . It can also eliminate entire RowGroups depending on certain statistics 
like min/max
    We can leverage that to further improve performance of queries with filters.
    Also filter2 api introduces ability to create custom filters. We can create 
a custom filter for the optimized In clause (InSet) , so that elimination 
happens in the ParquetRecordReader itself 

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

    $ git pull https://github.com/saucam/spark master

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

    https://github.com/apache/spark/pull/2841.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 #2841
    
----
commit 0bc54d3c0384606886a3e297cfdc85f44e2ea7e9
Author: Yash Datta <yash.da...@guavus.com>
Date:   2014-10-16T12:15:21Z

    SPARK-3968: Change parquet filter pushdown to use filter2 api of parquet-mr

commit 6adaf9b33f07ed247643ddf14020db69ece9d4fb
Author: Yash Datta <yash.da...@guavus.com>
Date:   2014-10-18T13:15:45Z

    SPARK-3968: Not pushing the filters in case of OPTIONAL columns

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to