GitHub user ajantha-bhat opened a pull request:
https://github.com/apache/carbondata/pull/2964
[HOTFIX] Fix ArrayOutOfBound exception when duplicate measure in projection
column
problem: ArrayOutOfBound exception when duplicate measure in the projection
column
cause: In query executor, when the reusable buffer is formed. It was
considering only the unique values. Need to consider all the projections.
solution: consider all the projections, while forming a reusable buffer.
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
yes, updated UT.
- [ ] 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/ajantha-bhat/carbondata sdk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/2964.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 #2964
----
commit ca6fd01b92844f43f2472ccf3f17d498bbd73216
Author: ajantha-bhat <ajanthabhat@...>
Date: 2018-11-29T11:42:56Z
fix ArrayOutOfBound exception when duplicate measure in projection column
----
---