Skip to content

[Bug] json_length() function causes BE crash #32124

@yoursweetie

Description

@yoursweetie

Search before asking

  • I had searched in the issues and found no similar issues.

Version

doris-2.0.5-rc01-204fde9 & master & 2.1

What's Wrong?

when execute built in function
select json_length('abc','$.k1')
BE crashed
图片

I understand this parameter is not right, but this causes BE crashed, which is not robust.

What You Expected?

BE NOT crash but throws exception

How to Reproduce?

just execute
select json_length('abc','$.k1')
图片

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions