GitHub user marmbrus opened a pull request:
https://github.com/apache/spark/pull/1883
[WIP][SPARK-2961][SQL] Use statistics to skip cached partitions
Adds the ability for `InMemoryColumnarTableScan` to skip partitions that
cannot possibly contain any matching rows, based on statistics collected when
caching. For example, if we know that in a given partition `max(a) = 10` and
there is a predicate `a = 15`, the partition will be skipped.
TODO:
- [ ] More tests
- [ ] Code cleanup
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/marmbrus/spark inMemStats
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/1883.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 #1883
----
commit 0c15b4c936ceba91a1125ad43579cca51ceb01eb
Author: Michael Armbrust <[email protected]>
Date: 2014-08-11T02:20:04Z
First draft of partition skipping based on statistics
----
---
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]