This is an automated email from the ASF dual-hosted git repository. morningman 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 ffb0d806433 [fix](build)fix rapidjson constructor ambiguity on macos (#41890) ffb0d806433 is described below commit ffb0d806433ffb5c75825c892291a91dd3021738 Author: zy-kkk <zhongy...@gmail.com> AuthorDate: Wed Oct 16 14:51:47 2024 +0800 [fix](build)fix rapidjson constructor ambiguity on macos (#41890) --- be/src/vec/aggregate_functions/aggregate_function_linear_histogram.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/be/src/vec/aggregate_functions/aggregate_function_linear_histogram.h b/be/src/vec/aggregate_functions/aggregate_function_linear_histogram.h index 3366cc5f70a..80572e4c223 100644 --- a/be/src/vec/aggregate_functions/aggregate_function_linear_histogram.h +++ b/be/src/vec/aggregate_functions/aggregate_function_linear_histogram.h @@ -157,10 +157,9 @@ public: left += interval; bucket_json.AddMember("upper", left, allocator); count = (idx == key) ? count_ : 0; - bucket_json.AddMember("count", count, allocator); + bucket_json.AddMember("count", static_cast<uint64_t>(count), allocator); acc_count += count; - bucket_json.AddMember("acc_count", acc_count, allocator); - + bucket_json.AddMember("acc_count", static_cast<uint64_t>(acc_count), allocator); bucket_arr.PushBack(bucket_json, allocator); } } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org