doris icon indicating copy to clipboard operation
doris copied to clipboard

[fix](array-type) disable cast function to array type on origin exec engine.

Open xy720 opened this issue 3 years ago • 0 comments

Proposed changes

Issue Number: close #11592

Problem summary

Currently, we already support cast to array on vectorized engine, and most of the array functions only supported on vectorized engine. but on origin exec engine, we only support cast varchar to array. Any other type cast to array on origin exec engine will cause be core dump.

This commit disable cast to array type on origin exec engine, except cast varchar to array type.

Checklist(Required)

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

xy720 avatar Aug 08 '22 13:08 xy720