Files
doris/regression-test/data/load_p0/stream_load/nest_json.json
Tiewei Fang c418bbd2d1 [feature-wip](new-scan) support Json reader (#13546)
Issue Number: close #12574
This pr adds `NewJsonReader` which implements GenericReader interface to support read json format file.

TODO:
1. modify `_scann_eof` later.
2. Rename `NewJsonReader` to `JsonReader` when `JsonReader` is deleted.
2022-10-26 12:52:21 +08:00

6 lines
330 B
JSON

{"no": 1, "item": {"id": 1, "city": "beijing", "code": 2345671}}
{"no": 2, "item": {"id": 2, "city": "shanghai", "code": 2345672}}
{"no": 3, "item": {"id": 3, "city": "hangzhou", "code": 2345673}}
{"no": 4, "item": {"id": 4, "city": "shenzhen", "code": 2345674}}
{"no": 5, "item": {"id": 5, "city": "guangzhou", "code": 2345675}}