mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
Merge pull request #30239 from kitaisreal/polygon-dictionary-fix-bytes-allocated
PolygonDictionary fix bytes_allocated
This commit is contained in:
commit
87b5710173
@ -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