doris
doris copied to clipboard
[fix](array-type) fix the be core dump when use string to insert array
Proposed changes
- this pr is used to fix be core dump when use string to insert array.
- before the change, we run 'insert into array_test07 values (1009, '[1,-1,3]');' to insert array will cause be core dump.
- after the change, we can insert successfully.
Issue Number: #7570 close #12452 related pr: #12146
Problem summary
Describe your changes.
Checklist(Required)
- Does it affect the original behavior:
- [ ] Yes
- [x] No
- [ ] I don't know
- Has unit tests been added:
- [ ] Yes
- [x] No
- [ ] No Need
- Has document been added or modified:
- [ ] Yes
- [x] No
- [ ] No Need
- Does it need to update dependencies:
- [ ] Yes
- [x] No
- Are there any changes that cannot be rolled back:
- [ ] Yes (If Yes, please explain WHY)
- [x] No
Further comments
If this is a relatively large or complex change, kick off the discussion at [email protected] by explaining why you chose the solution you did and what alternatives you considered, etc...