GitHub user ravipesala opened a pull request:
https://github.com/apache/carbondata/pull/2820
[CARBONDATA-3013] Added support for pruning pages for vector direct fill.
This PR depends on PR https://github.com/apache/carbondata/pull/2819
First, apply page level pruning using the min/max of each page and get the
valid pages of blocklet. Decompress only valid pages and fill the vector
directly as mentioned in full scan query scenario.
For this purpose to prune pages first before decompressing the data, added
new method inside a class `FilterExecuter`.
```
BitSet prunePages(RawBlockletColumnChunks rawBlockletColumnChunks)
throws FilterUnsupportedException, IOException;
```
The above method reads the necessary column chunk metadata and prunes the
pages as per the min/max meta. Based on the pruned pages BlockletScannedResult
decompresses and fills the column page data to vector as described in full scan
in above mentioned PR .
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:
- [ ] Any interfaces changed?
- [ ] Any backward compatibility impacted?
- [ ] Document update required?
- [ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests
are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance
test report.
- Any additional information to help reviewers in testing this
change.
- [ ] For large changes, please consider breaking it into sub-tasks under
an umbrella JIRA.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ravipesala/incubator-carbondata
perf-filter-scan1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/2820.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 #2820
----
commit f41734b9d123d1ad5f9e7955e594b98899fce208
Author: ravipesala <ravi.pesala@...>
Date: 2018-10-16T05:02:18Z
Add carbon property to configure vector based row pruning push down
commit 4ed51eb0415dd5c92d804bcf9a3d1e6421f56556
Author: ravipesala <ravi.pesala@...>
Date: 2018-10-16T06:00:43Z
Added support for full scan queries for vector direct fill.
commit dbd86a6b103506acf0b7f9783a88c88d8926ed77
Author: ravipesala <ravi.pesala@...>
Date: 2018-10-16T09:23:14Z
Added support for pruning pages for vector direct fill.
----
---