From 2f9e7cdeb9bb61e62e047b96e017e2061601fdb7 Mon Sep 17 00:00:00 2001 From: robot-clickhouse Date: Tue, 13 Jun 2023 15:08:34 +0000 Subject: [PATCH] Backport #50620 to 23.4: Increase max array size in group bitmap --- src/AggregateFunctions/AggregateFunctionGroupBitmapData.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AggregateFunctions/AggregateFunctionGroupBitmapData.h b/src/AggregateFunctions/AggregateFunctionGroupBitmapData.h index d99f0bf16eec..7ea1ebe77496 100644 --- a/src/AggregateFunctions/AggregateFunctionGroupBitmapData.h +++ b/src/AggregateFunctions/AggregateFunctionGroupBitmapData.h @@ -122,7 +122,7 @@ class RoaringBitmapWithSmallSet : private boost::noncopyable size_t size; readVarUInt(size, in); - static constexpr size_t max_size = 1_GiB; + static constexpr size_t max_size = 100_GiB; if (size == 0) throw Exception(ErrorCodes::INCORRECT_DATA, "Incorrect size (0) in groupBitmap.");