mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
Merge pull request #65446 from ClickHouse/backport/24.3/65379
Backport #65379 to 24.3: Fix alignment of Distinct combinator
This commit is contained in:
commit
877c59bc3a
@ -228,6 +228,11 @@ public:
|
|||||||
return prefix_size + nested_func->sizeOfData();
|
return prefix_size + nested_func->sizeOfData();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
size_t alignOfData() const override
|
||||||
|
{
|
||||||
|
return std::max(alignof(Data), nested_func->alignOfData());
|
||||||
|
}
|
||||||
|
|
||||||
void create(AggregateDataPtr __restrict place) const override
|
void create(AggregateDataPtr __restrict place) const override
|
||||||
{
|
{
|
||||||
new (place) Data;
|
new (place) Data;
|
||||||
|
Loading…
Reference in New Issue
Block a user