GitHub user Indhumathi27 opened a pull request:
https://github.com/apache/carbondata/pull/2745
[CARBONDATA-2958] Compaction with CarbonProperty
'carbon.enable.page.level.reader.in.compaction' enabled fails as Compressor is
null
**Problem:**
When CarbonProperty 'carbon.enable.page.level.reader.in.compaction' is
enabled, compaction fails throwing Null Pointer Exception as compressor is Null
**Solution:**
Set compressor from pageMetaData
- [ ] Any interfaces changed?
- [ ] Any backward compatibility impacted?
- [ ] Document update required?
- [x] Testing done
Test case added
- [ ] 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/Indhumathi27/carbondata page_compaction
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/2745.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 #2745
commit 1c0a6fc8435c582cefa00bcd8d6979e89f1d886d
Author: Indhumathi27
Date: 2018-09-21T09:54:39Z
[CARBONDATA-2958] Compaction with CarbonProperty
'carbon.enable.page.level.reader.in.compaction' enabled fails as Compressor is
null
---