Files
doris/regression-test/data/load_p0/stream_load/simple_json2.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

52 lines
812 B
JSON

[
{
"code": 2345671,
"id": 1,
"city": "beijing"
},
{
"code": 2345672,
"id": 2,
"city": "shanghai"
},
{
"code": 2345673,
"id": 3,
"city": "guangzhou"
},
{
"code": 2345674,
"id": 4,
"city": "shenzhen"
},
{
"code": 2345675,
"id": 5,
"city": "hangzhou"
},
{
"code": 2345676,
"id": 6,
"city": "nanjing"
},
{
"code": 2345677,
"id": 7,
"city": "wuhan"
},
{
"code": 2345678,
"id": 8,
"city": "chengdu"
},
{
"code": 2345679,
"id": 9,
"city": "xian"
},
{
"code": 23456710,
"id": 10,
"city": "hefei"
}
]