GitHub user BJangir opened a pull request:
https://github.com/apache/carbondata/pull/2703
[CARBONDATA-2925]Wrong data displayed for spark file format if carbonâ¦
Issue:- if Carbon file has multiple blocklet ,in select query wrong data
displayed.
Root Cause :- it is showing records of only for 1st Blocklet and other
blocklet in that block is getting skipped. This is because default blocklet is
0 and CarbonFileformat create blockletInfo with default configuration (not
changed blockletID).
Solution :- Set default blockletID to -1 so that all blocklets are
considered.
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:
- [ ] Any interfaces changed?
NA
- [ ] Any backward compatibility impacted?
NA
- [ ] Document update required?
NA
- [ ] 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.
Manually and Testcase also added
- 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.
NA
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/BJangir/incubator-carbondata CARBONDATA-2925
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/2703.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 #2703
----
commit 6d57c2b52a1c13828262738a82d9fbdca2424c02
Author: BJangir <babulaljangir111@...>
Date: 2018-09-10T14:05:33Z
[CARBONDATA-2925]Wrong data displayed for spark file format if carbon file
has multiple blocklet
----
---