mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
fix bug
This commit is contained in:
parent
ef0b78cf12
commit
c7c14cc6ad
@ -32,8 +32,7 @@ std::string ColumnMap::getName() const
|
||||
|
||||
ColumnMap::ColumnMap(MutableColumns && mutable_columns)
|
||||
{
|
||||
assert(2 == mutable_columns.size());
|
||||
columns.reserve(2);
|
||||
columns.reserve(mutable_columns.size());
|
||||
for (auto & column : mutable_columns)
|
||||
{
|
||||
assert(column->getDataType() == TypeIndex::Array);
|
||||
|
Loading…
Reference in New Issue
Block a user