github-actions[bot] commented on code in PR #30250:
URL: https://github.com/apache/doris/pull/30250#discussion_r1462666628
##########
be/src/pipeline/pipeline_x/operator.h:
##########
@@ -542,8 +542,12 @@ class DataSinkOperatorXBase : public OperatorBase {
[[nodiscard]] bool is_source() const override { return false; }
- virtual Status close(RuntimeState* state, Status exec_status) {
- return state->get_sink_local_state(operator_id())->close(state,
exec_status);
+ Status close(RuntimeState* state, Status exec_status) {
Review Comment:
warning: method 'close' can be made const
[readability-make-member-function-const]
```suggestion
Status close(RuntimeState* state, Status exec_status) 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]