fix filling of missing columns

This commit is contained in:
Anton Popov 2022-05-12 17:21:30 +00:00
parent 0dbbca5b3e
commit 56fffc8681

View File

@ -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);