From f04bc05a7e60dd7adb6d4b149559d58a757c7aa4 Mon Sep 17 00:00:00 2001 From: Jerry Hu Date: Mon, 18 Sep 2023 10:24:32 +0800 Subject: [PATCH] [fix](agg) The offset value was added twice in 'pack_fixed' (#24506) --- be/src/vec/common/aggregation_common.h | 1 - 1 file changed, 1 deletion(-) diff --git a/be/src/vec/common/aggregation_common.h b/be/src/vec/common/aggregation_common.h index 20cda701ebdbcc..68ee8e4cca284e 100644 --- a/be/src/vec/common/aggregation_common.h +++ b/be/src/vec/common/aggregation_common.h @@ -95,7 +95,6 @@ T pack_fixed(size_t i, size_t keys_size, const ColumnRawPtrs& key_columns, const static_cast(key_columns[j])->get_raw_data_begin<1>() + i * key_sizes[j], key_sizes[j]); - offset += key_sizes[j]; } offset += key_sizes[j];