GitHub user HyukjinKwon opened a pull request:
https://github.com/apache/spark/pull/10341
[SPARK-11677][SQL][FOLLOW-UP] Add tests for checking the ORC filter
creation against pushed down filters.
https://issues.apache.org/jira/browse/SPARK-11677
Although it checks correctly the filters by the number of results if ORC
filter-push-down is enabled, the filters themselves are not being tested.
So, this PR includes the test similarly with `ParquetFilterSuite`.
Since the results are checked by `OrcQuerySuite`, this `OrcFilterSuite`
only checks if the appropriate filters are created.
One thing different with `ParquetFilterSuite` here is, it does not check
the results because that is checked in `OrcQuerySuite`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/HyukjinKwon/spark SPARK-11677-followup
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/10341.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 #10341
----
commit dc39131d8c1c2574361ab7e752a1adb69abb9f3f
Author: hyukjinkwon <[email protected]>
Date: 2015-12-17T00:49:20Z
Add tests for ORC filter pushdown.
commit 5f49052a587f17832048097760b7295d71153e9f
Author: hyukjinkwon <[email protected]>
Date: 2015-12-17T00:53:13Z
Remove unused import
----
---
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]