yiguolei commented on code in PR #37990: URL: https://github.com/apache/doris/pull/37990#discussion_r1680548458
########## be/src/runtime/buffer_control_block.cpp: ########## @@ -80,6 +81,13 @@ void GetResultBatchCtx::on_data(const std::unique_ptr<TFetchDataResult>& t_resul result->set_packet_seq(packet_seq); result->set_eos(eos); } + + /// The size limit of proto buffer message is 2G + if (result->ByteSizeLong() > std::numeric_limits<int32_t>::max()) { Review Comment: 2G should be a config. Set it to 1G. -- 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