GitHub user kumarvishal09 opened a pull request:
https://github.com/apache/incubator-carbondata/pull/130
[CARBONDATA-217]Fixed data mismatch issue after compaction
Step1: Run Data load and restart server
Step2: Start compaxction
Step3: Run Query
Query is giving different result after compaction
Problem:In compaction flow we are not setting the useInvertedIndex boolean
for key column so it is false and it is not writing column data in sorted order
and binary search is failing
Solution: Need to set the useInvertedIndex array from carbon table
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kumarvishal09/incubator-carbondata
DataMismatchIssueAfterCompaction
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-carbondata/pull/130.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 #130
----
commit e65a5a2c2dbdb13453e36367a78afe133fb43b6a
Author: kumarvishal <[email protected]>
Date: 2016-09-07T07:18:19Z
Fixed data mismatch issue after compaction
----
---
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.
---