mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 13:02:00 +00:00
fix filling of missing columns
This commit is contained in:
parent
0dbbca5b3e
commit
56fffc8681
@ -232,7 +232,7 @@ void fillMissingColumns(
|
||||
auto available_column = available_columns.begin();
|
||||
for (size_t i = 0; i < num_columns; ++i, ++available_column)
|
||||
{
|
||||
if (res_columns[i] == nullptr)
|
||||
if (res_columns[i] == nullptr || isColumnConst(*res_columns[i]))
|
||||
continue;
|
||||
|
||||
auto serialization = IDataType::getSerialization(*available_column);
|
||||
|
Loading…
Reference in New Issue
Block a user