From ed76b0c5f52bcce20a6d1d603af6d94b19ef8aef Mon Sep 17 00:00:00 2001 From: camby Date: Thu, 12 Sep 2024 18:47:59 +0800 Subject: [PATCH] [fix](compile) failed on MacOS because size_t is not uint64_t on MacOS (#39296) (#40720) pick #39296 to branch-2.1 Co-authored-by: morrySnow <101034200+morrySnow@users.noreply.github.com> --- .../vec/aggregate_functions/aggregate_function_window_funnel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/vec/aggregate_functions/aggregate_function_window_funnel.h b/be/src/vec/aggregate_functions/aggregate_function_window_funnel.h index 5ba5a0a647..8e3efb9c61 100644 --- a/be/src/vec/aggregate_functions/aggregate_function_window_funnel.h +++ b/be/src/vec/aggregate_functions/aggregate_function_window_funnel.h @@ -347,7 +347,7 @@ struct WindowFunnelState { read_var_int(mode, in); window_funnel_mode = static_cast(mode); } - size_t data_bytes = 0; + uint64_t data_bytes = 0; read_var_uint(data_bytes, in); std::string buff; buff.resize(data_bytes);