We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d866526 + 69062c9 commit 51c62ceCopy full SHA for 51c62ce
clickhouse/columns/string.cpp
@@ -247,8 +247,8 @@ void ColumnString::Append(ColumnRef column) {
247
// TODO: fill up existing block with some items and then add a new one for the rest of items
248
if (blocks_.size() == 0 || blocks_.back().GetAvailable() < total_size)
249
blocks_.emplace_back(std::max(DEFAULT_BLOCK_SIZE, total_size));
250
- items_.reserve(items_.size() + col->Size());
251
+ // Intentionally not doing items_.reserve() since that cripples performance.
252
for (size_t i = 0; i < column->Size(); ++i) {
253
this->AppendUnsafe((*col)[i]);
254
}
0 commit comments