From commits-return-12977-archive-asf-public=cust-asf.ponee.io@doris.apache.org Tue Jul 21 07:28:24 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mailroute1-lw-us.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 3AF2118065B for ; Tue, 21 Jul 2020 09:28:24 +0200 (CEST) Received: from mail.apache.org (localhost [127.0.0.1]) by mailroute1-lw-us.apache.org (ASF Mail Server at mailroute1-lw-us.apache.org) with SMTP id 63CAC1241D4 for ; Tue, 21 Jul 2020 07:28:23 +0000 (UTC) Received: (qmail 47197 invoked by uid 500); 21 Jul 2020 07:28:23 -0000 Mailing-List: contact commits-help@doris.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@doris.apache.org Delivered-To: mailing list commits@doris.apache.org Received: (qmail 47188 invoked by uid 99); 21 Jul 2020 07:28:23 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2020 07:28:23 +0000 From: =?utf-8?q?GitBox?= To: commits@doris.apache.org Subject: =?utf-8?q?=5BGitHub=5D_=5Bincubator-doris=5D_wutiangan_commented_on_a_change?= =?utf-8?q?_in_pull_request_=234125=3A_=5BBug=5D=5BLoad=5D=5BJson=5D_=234124?= =?utf-8?q?_Load_json_format_with_stream_load_failed?= Message-ID: <159531650310.29655.17534253627369648990.asfpy@gitbox.apache.org> Date: Tue, 21 Jul 2020 07:28:23 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit In-Reply-To: References: wutiangan commented on a change in pull request #4125: URL: https://github.com/apache/incubator-doris/pull/4125#discussion_r457892231 ########## File path: be/src/http/action/stream_load.cpp ########## @@ -312,7 +312,7 @@ Status StreamLoadAction::_process_put(HttpRequest* http_req, StreamLoadContext* request.formatType = ctx->format; request.__set_loadId(ctx->id.to_thrift()); if (ctx->use_streaming) { - auto pipe = std::make_shared(); + auto pipe = std::make_shared(1024 * 1024, 64* 1024, ctx->body_bytes); Review comment: ```suggestion auto pipe = std::make_shared(1024 * 1024, 64 * 1024, ctx->body_bytes); ``` ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: users@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org For additional commands, e-mail: commits-help@doris.apache.org