mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Fixed informational size in bytes of ColumnAggregateFunction [#METR-20359].
This commit is contained in:
parent
18016c4221
commit
c8d21e3674
@ -215,7 +215,12 @@ public:
|
|||||||
|
|
||||||
size_t byteSize() const override
|
size_t byteSize() const override
|
||||||
{
|
{
|
||||||
return getData().size() * sizeof(getData()[0]);
|
size_t res = getData().size() * sizeof(getData()[0]);
|
||||||
|
|
||||||
|
for (const auto & arena : arenas)
|
||||||
|
res += arena.get()->size();
|
||||||
|
|
||||||
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
void insertRangeFrom(const IColumn & src, size_t start, size_t length) override
|
void insertRangeFrom(const IColumn & src, size_t start, size_t length) override
|
||||||
|
Loading…
Reference in New Issue
Block a user