GitHub user xubo245 opened a pull request:
https://github.com/apache/carbondata/pull/2929
[CARBONDATA-3108][CARBONDATA-3044] Fix the error of jvm will crash when
CarbonRow use wrong index number in CSDK
This PR:
1. fix the error of jvm will crash when CarbonRow use wrong index number in
CSDK
including getString, getVarchar, getArray, getDecimal
2. delete/release the data after running
3. init the variable to NULL
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:
- [ ] Any interfaces changed?
No
- [ ] Any backward compatibility impacted?
No
- [ ] Document update required?
Yes
- [ ] Testing done
add
- [ ] For large changes, please consider breaking it into sub-tasks under
an umbrella JIRA.
JIRA2951
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/xubo245/carbondata
CARBONDATA-3108_CarbonRowJvmCrash
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/2929.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 #2929
----
commit 1f72221db80eafa82addb092414f7cc072a110c6
Author: xubo245 <xubo29@...>
Date: 2018-11-19T14:48:31Z
[CARBONDATA-3108][CARBONDATA-3044] Fix the error of jvm will crash when
CarbonRow use wrong index number in CSDK
1. fix the error
2. delete/release the data after running
3. init the variable to NULL
----
---