ajantha-bhat opened a new pull request #3260: [HOTFIX] Fix compatibility issue with page size
URL:
https://github.com/apache/carbondata/pull/3260
problem: Array Out of bound exception when old store is read from latest code.
Cause: #3239 partially fix the problem, For old store, length is written as zero, so in BlockletInfo, numberOfRowsPerPage will be array of zero elements.
solution: Fill the numberOfRowsPerPage only when length is non-zero, when length is zero, it will be filled from setNumberOfRowsPerPage in BlockletDataRefNode as numberOfRowsPerPage is null.
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, tested locally.
- [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA. NA
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[hidden email]
With regards,
Apache Git Services