github-actions[bot] commented on code in PR #24763:
URL: https://github.com/apache/doris/pull/24763#discussion_r1334304228
##########
be/src/vec/sink/load_stream_stub_pool.cpp:
##########
@@ -35,7 +35,7 @@ std::shared_ptr<Streams>
LoadStreamStubPool::get_or_create(PUniqueId load_id, in
if (streams) {
return streams;
}
- int32_t num_streams = std::max(1, config::num_streams_per_sink);
+ int32_t num_streams = std::max(1, config::num_streams_per_load);
Review Comment:
warning: variable 'num_streams' is not initialized
[cppcoreguidelines-init-variables]
```suggestion
int32_t num_streams = 0 = std::max(1, config::num_streams_per_load);
```
--
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]