github-actions[bot] commented on code in PR #24822:
URL: https://github.com/apache/doris/pull/24822#discussion_r1334951363
##########
be/src/pipeline/exec/union_source_operator.h:
##########
@@ -133,9 +136,13 @@ class UnionSourceOperatorX final : public
OperatorX<UnionSourceLocalState> {
}
return Status::OK();
}
+ int get_child_count() const { return _child_size; }
Review Comment:
warning: function 'get_child_count' should be marked [[nodiscard]]
[modernize-use-nodiscard]
```suggestion
[[nodiscard]] int get_child_count() const { return _child_size; }
```
--
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]