cambyzju commented on code in PR #32583:
URL: https://github.com/apache/doris/pull/32583#discussion_r1533161274


##########
be/src/vec/aggregate_functions/aggregate_function_collect.h:
##########
@@ -678,7 +678,7 @@ class AggregateFunctionCollect
                                             Arena* arena, const size_t 
num_rows) const override {
         if constexpr (ShowNull::value) {
             for (size_t i = 0; i != num_rows; ++i) {
-                if (places[i] + offset) {
+                if (places[i] || offset) {

Review Comment:
   We should not change the logic while fix compile error. 
   
   offset is added from pr https://github.com/apache/doris/pull/32387, please 
have a review @amorynan 



-- 
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]

Reply via email to