doris icon indicating copy to clipboard operation
doris copied to clipboard

[fix](array-type) fix the be core dump when use string to insert array

Open carlvinhust2012 opened this issue 3 years ago • 0 comments

Proposed changes

  1. this pr is used to fix be core dump when use string to insert array.
  2. before the change, we run 'insert into array_test07 values (1009, '[1,-1,3]');' to insert array will cause be core dump.
  3. after the change, we can insert successfully.

Issue Number: #7570 close #12452 related pr: #12146

Problem summary

Describe your changes.

Checklist(Required)

  1. Does it affect the original behavior:
    • [ ] Yes
    • [x] No
    • [ ] I don't know
  2. Has unit tests been added:
    • [ ] Yes
    • [x] No
    • [ ] No Need
  3. Has document been added or modified:
    • [ ] Yes
    • [x] No
    • [ ] No Need
  4. Does it need to update dependencies:
    • [ ] Yes
    • [x] No
  5. 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...

carlvinhust2012 avatar Sep 19 '22 05:09 carlvinhust2012