mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 03:12:43 +00:00
fix for nullable columns
This commit is contained in:
parent
e6f8338666
commit
b08ecfe6c0
@ -160,7 +160,10 @@ void ApplySquashing::append(std::vector<Chunk> & input_chunks)
|
||||
{
|
||||
for (size_t i = 0; i < columns.size(); ++i)
|
||||
{
|
||||
mutable_columns.push_back(IColumn::mutate(columns[i]));
|
||||
if (columns[i]->isNullable())
|
||||
mutable_columns.push_back(IColumn::mutate(columns[i]));
|
||||
else
|
||||
mutable_columns.push_back(columns[i]->assumeMutable());
|
||||
mutable_columns[i]->reserve(rows);
|
||||
}
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user