Skip to content

visitParamExtractRaw does not work if the JSON contains a string with unmatched { or [ #11254

@devwout

Description

@devwout

Query

select visitParamExtractRaw('{"k":"{"}', 'k')

Expected result

'"{"'

Actual result

''

Clickhouse version

20.4.4.18-stable

Additional information

Also applicable for [ instead of {.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugConfirmed user-visible misbehaviour in official release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions