liaoxin01 commented on code in PR #55861:
URL: https://github.com/apache/doris/pull/55861#discussion_r2357340704
##########
be/src/http/action/stream_load.cpp:
##########
@@ -519,15 +521,30 @@ Status StreamLoadAction::_process_put(HttpRequest*
http_req,
if (!http_req->header(HTTP_JSONROOT).empty()) {
request.__set_json_root(http_req->header(HTTP_JSONROOT));
}
- if (!http_req->header(HTTP_STRIP_OUTER_ARRAY).empty()) {
- if (iequal(http_req->header(HTTP_STRIP_OUTER_ARRAY), "true")) {
- request.__set_strip_outer_array(true);
- } else {
- request.__set_strip_outer_array(false);
- }
- } else {
- request.__set_strip_outer_array(false);
- }
+ // (TODO Refrain)For json load parameters, we need a more elegant way to
handle them
+ bool has_read_json_by_line =
!http_req->header(HTTP_READ_JSON_BY_LINE).empty();
Review Comment:
Please add a comment.
--
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]