github-actions[bot] commented on code in PR #33752:
URL: https://github.com/apache/doris/pull/33752#discussion_r1568183958
##########
be/src/io/fs/stream_load_pipe.h:
##########
@@ -81,6 +81,10 @@ class StreamLoadPipe : public MessageBodySink, public
FileReader {
// used for pipeline load, which use TUniqueId(lo: query_id.lo +
fragment_id, hi: query_id.hi) as pipe_id
static TUniqueId calculate_pipe_id(const UniqueId& query_id, int32_t
fragment_id);
+ size_t max_capacity() { return _max_buffered_bytes; }
Review Comment:
warning: method 'max_capacity' can be made const
[readability-make-member-function-const]
```suggestion
size_t max_capacity() const { return _max_buffered_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.
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]