hubgeter opened a new pull request, #23062: URL: https://github.com/apache/doris/pull/23062
## Proposed changes one_array_json.json : This file has only 10 lines . before : ```mysql select * from HDFS( "uri" = "hdfs://127.0.0.1:8120/user/doris/preinstalled_data/json_format_test/one_array_json.json", "fs.defaultFS"= "hdfs://127.0.0.1:8120", "hadoop.username" = "doris", "format" = "json", "strip_outer_array" = "true", "read_json_by_line" = "false" ) limit 13; +------+-----------+---------+ | id | city | code | +------+-----------+---------+ | 1 | beijing | 1454547 | | 2 | shanghai | 1244264 | | 3 | guangzhou | 528369 | | 4 | shenzhen | 594201 | | 5 | hangzhou | 594201 | | 6 | nanjing | 2345672 | | 7 | wuhan | 2345673 | | 8 | chengdu | 2345674 | | 9 | xian | 2345675 | | 10 | hefei | 2345676 | | 1 | beijing | 1454547 | | 2 | shanghai | 1244264 | | 3 | guangzhou | 528369 | +------+-----------+---------+ 13 rows in set (0.03 sec) ``` when you `select * from ... ` , read json file will not stop after : ```mysql select * from HDFS( "uri" = "hdfs://127.0.0.1:8120/user/doris/preinstalled_data/json_format_test/one_array_json.json", "fs.defaultFS"= "hdfs://127.0.0.1:8120", "hadoop.username" = "doris", "format" = "json", "strip_outer_array" = "true", "read_json_by_line" = "false" ) limit 21; +------+-----------+---------+ | id | city | code | +------+-----------+---------+ | 1 | beijing | 1454547 | | 2 | shanghai | 1244264 | | 3 | guangzhou | 528369 | | 4 | shenzhen | 594201 | | 5 | hangzhou | 594201 | | 6 | nanjing | 2345672 | | 7 | wuhan | 2345673 | | 8 | chengdu | 2345674 | | 9 | xian | 2345675 | | 10 | hefei | 2345676 | +------+-----------+---------+ 10 rows in set (0.03 sec) ``` Issue Number: close #xxx <!--Describe your changes.--> ## Further comments If this is a relatively large or complex change, kick off the discussion at [d...@doris.apache.org](mailto:d...@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc... -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org