Fix error

This commit is contained in:
Alexey Milovidov 2020-08-07 03:29:52 +03:00
parent bd67ae6052
commit 733bd0ecec

View File

@ -351,7 +351,7 @@ public:
/// If the function is complex or too large, use more generic algorithm.
if (func.allocatesMemoryInArena() || sizeof(Data) > 16)
if (func.allocatesMemoryInArena() || func.sizeOfData() > 16 || func.sizeOfData() != sizeof(Data))
{
IAggregateFunctionHelper<Derived>::addBatchLookupTable8(batch_size, map, place_offset, init, key, columns, arena);
return;