jqcc opened a new pull request, #41914:
URL: https://github.com/apache/doris/pull/41914
## Proposed changes
Doris's stream load limits the amount of data that can be imported at one
time. If the amount of data exceeds the limit, it will fail. If you want to
increase the limit, you need to manually adjust the BE
parameters(`streaming_load_max_mb`).
This adjustment adds a check rule for the amount of data during import. If
the amount of imported data is set in the HTTP header, the size limit specified
in HTTP can be dynamically loaded, avoiding the need to uniformly adjust the
limit of the BE layer.
just like:
``` bash
curl --location-trusted -u <doris_user>:<doris_password> \
-H "data_size_limit:10240"
-H "column_separator:," \
-H "columns:user_id,name,age" \
-T streamload_example.csv \
-XPUT
http://<fe_ip>:<fe_http_port>/api/testdb/test_streamload/_stream_load
```
<!--Describe your changes.-->
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]