github-actions[bot] commented on code in PR #32945: URL: https://github.com/apache/doris/pull/32945#discussion_r1542401916
########## be/src/vec/exec/vunion_node.h: ########## @@ -18,8 +18,8 @@ #pragma once #include <glog/logging.h> Review Comment: warning: 'glog/logging.h' file not found [clang-diagnostic-error] ```cpp #include <glog/logging.h> ^ ``` ########## be/src/vec/exec/vunion_node.h: ########## @@ -64,6 +64,8 @@ /// GetNext() for the constant expression case. Status get_next_const(RuntimeState* state, Block* block); + bool resource_allocated() const { return _resource_allocated; } Review Comment: warning: function 'resource_allocated' should be marked [[nodiscard]] [modernize-use-nodiscard] ```suggestion [[nodiscard]] bool resource_allocated() const { return _resource_allocated; } ``` -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org