clickhouse-cpp
clickhouse-cpp copied to clipboard
Better estimation for ColumnLowCardinality::Reserve and ColumnString::Reserve
ColumnLowCardinality assumes that not all items are unique, hence dictionary column can be reserved for smaller capacity.
ColumnString now allows to set average value size estimation in constructor or on existing instance. If estimation is close to real average value size, then memory pre-allocations are close to optimum.
Added method MemoryUsage that provides insight on the amount of RAM used by column instance.
Closing to re-open and to re-trigger CI/CD