This is an automated email from the ASF dual-hosted git repository.
cambyzju pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new 10e098845df [fix](compile) fix two compile errors on MacOS (#33834)
(#34149)
10e098845df is described below
commit 10e098845df781d4f8f2e2065eca246968ab7c98
Author: camby <[email protected]>
AuthorDate: Fri Apr 26 17:02:44 2024 +0800
[fix](compile) fix two compile errors on MacOS (#33834) (#34149)
---
.../aggregate_function_group_array_intersect.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
a/be/src/vec/aggregate_functions/aggregate_function_group_array_intersect.h
b/be/src/vec/aggregate_functions/aggregate_function_group_array_intersect.h
index 03c1639c45a..5d627782f25 100644
--- a/be/src/vec/aggregate_functions/aggregate_function_group_array_intersect.h
+++ b/be/src/vec/aggregate_functions/aggregate_function_group_array_intersect.h
@@ -256,11 +256,11 @@ public:
read_pod_binary(is_set_contains_null, buf);
data.value->change_contains_null_value(is_set_contains_null);
read_pod_binary(data.init, buf);
- size_t size;
+ UInt64 size;
read_var_uint(size, buf);
T element;
- for (size_t i = 0; i < size; ++i) {
+ for (UInt64 i = 0; i < size; ++i) {
read_int_binary(element, buf);
data.value->insert(static_cast<void*>(&element));
}
@@ -484,11 +484,11 @@ public:
read_pod_binary(is_set_contains_null, buf);
data.value->change_contains_null_value(is_set_contains_null);
read_pod_binary(data.init, buf);
- size_t size;
+ UInt64 size;
read_var_uint(size, buf);
StringRef element;
- for (size_t i = 0; i < size; ++i) {
+ for (UInt64 i = 0; i < size; ++i) {
element = read_string_binary_into(*arena, buf);
data.value->insert((void*)element.data, element.size);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]