github-actions[bot] commented on code in PR #42898:
URL: https://github.com/apache/doris/pull/42898#discussion_r1822022027
##########
be/src/pipeline/exec/streaming_aggregation_operator.cpp:
##########
@@ -848,12 +841,12 @@ Status
StreamingAggLocalState::_get_with_serialized_key_result(RuntimeState* sta
return Status::OK();
}
-Status StreamingAggLocalState::_serialize_without_key(RuntimeState* state,
vectorized::Block* block,
- bool* eos) {
+Status StreamingAggLocalState::_get_results_without_key(RuntimeState* state,
Review Comment:
warning: method '_get_results_without_key' can be made const
[readability-make-member-function-const]
be/src/pipeline/exec/streaming_aggregation_operator.cpp:844:
```diff
- vectorized::Block*
block, bool* eos) {
+ vectorized::Block*
block, bool* eos) const {
```
be/src/pipeline/exec/streaming_aggregation_operator.h:67:
```diff
- Status _get_results_without_key(RuntimeState* state,
vectorized::Block* block, bool* eos);
+ Status _get_results_without_key(RuntimeState* state,
vectorized::Block* block, bool* eos) const;
```
--
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]