mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
PolygonDictionary fix bytes_allocated
This commit is contained in:
parent
6b9a1ab60b
commit
f3c568fbe6
@ -248,6 +248,9 @@ void IPolygonDictionary::calculateBytesAllocated()
|
||||
{
|
||||
/// Index allocated by subclass not counted because it take a small part in relation to attributes and polygons
|
||||
|
||||
if (configuration.store_polygon_key_column)
|
||||
bytes_allocated += key_attribute_column->allocatedBytes();
|
||||
|
||||
for (const auto & column : attributes_columns)
|
||||
bytes_allocated += column->allocatedBytes();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user