This is an automated email from the ASF dual-hosted git repository.
zhangstar333 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 4de86fe460c [FIX](compile)fix for gcc compile (#32508)
4de86fe460c is described below
commit 4de86fe460c9eaa63447b0d5bdef16185ca231f1
Author: amory <[email protected]>
AuthorDate: Thu Mar 21 15:40:40 2024 +0800
[FIX](compile)fix for gcc compile (#32508)
* fix for gcc compile
---
be/src/vec/aggregate_functions/aggregate_function_collect.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/vec/aggregate_functions/aggregate_function_collect.h
b/be/src/vec/aggregate_functions/aggregate_function_collect.h
index 4d1f77fe380..ac555982461 100644
--- a/be/src/vec/aggregate_functions/aggregate_function_collect.h
+++ b/be/src/vec/aggregate_functions/aggregate_function_collect.h
@@ -678,7 +678,7 @@ public:
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]) {
this->data(places[i] + offset)
.deserialize_and_merge(*assert_cast<const
IColumn*>(column), i);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]