Files
doris/regression-test/data/load_p0/stream_load/invalid_json.json
lihangyu cfb90b39c7 (vec-stream-load-json) simdjson throw execption lead to core dump (#11880)
when config::enable_simdjson_parser=true in vec streamload, may lead to core dump when json input invalid format string like '{ "a', or all the fields is null like '{}', this may lead to simdjson lib throw some unhandled expection like `Objects and arrays can only be iterated when they are first encountered`.We should take care of these cases

Signed-off-by: eldenmoon <15605149486@163.com>
2022-08-18 10:27:34 +08:00

4 lines
117 B
JSON

{"no": 1, "item: {"id": 1, "city": "beijing", "code": 2345671}}
{"no": 2, "item": {}}
{"no": 2, "item": {"id":"123}}