zzzzzzzs opened a new pull request, #23797: URL: https://github.com/apache/doris/pull/23797
## Proposed changes Issue Number: close https://github.com/apache/doris/issues/23678 <!--Describe your changes.--> ## Further comments stream tvf support csv header csv_with_names ``` id,name,age 1,alice,18 2,bob,20 3,jack,24 4,jackson,19 5,liming,18 6,luffy,20 7,zoro,22 8,sanzi,26 9,wusuopu,21 10,nami,18 ``` csv_with_names_and_types ``` id,name,age INT,STRING,INT 1,alice,18 2,bob,20 3,jack,24 4,jackson,19 5,liming,18 6,luffy,20 7,zoro,22 8,sanzi,26 9,wusuopu,21 10,nami,18 ``` example: ``` curl -v --location-trusted -u root: -H "sql: insert into test.t1(id, name, age) select cast(id as INT) as id, name, age from http_stream(\"format\" = \"csv_with_names\", \"column_separator\" = \",\")" -T csv_with_names.txt http://127.0.0.1:8030/api/_http_stream ``` ``` curl -v --location-trusted -u root: -H "sql: insert into test.t1(id, name, age) select cast(id as INT) as id, name, age from http_stream(\"format\" = \"csv_with_names_and_types\", \"column_separator\" = \",\")" -T csv_with_names_and_types.txt http://127.0.0.1:8030/api/_http_stream ``` -- 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