Vertical merges of wide parts fail if there is an array in the table and not all columns are present in parts.
```sql
CREATE TABLE aaa 
(
  a   Array(Int16),
  b   Int8
)
ENGINE = MergeTree
ORDER BY tuple() 
settings
    vertical_merge_algorithm_min_columns_to_activate=1,
    vertical_merge_algorithm_min_rows_to_activate=1,
    min_bytes_for_wide_part=0;

insert into aaa select [], 0;
alter table aaa clear column b;

optimize table aaa final;

Received exception from server (version 22.4.2):
Code: 16. DB::Exception: Received from localhost:9000. 
DB::Exception: There is no column a.size0 in table. (NO_SUCH_COLUMN_IN_TABLE)
```
NameSet names(pre_column_names.begin(), pre_column_names.end());
                for (auto & name : prewhere_info->row_level_filter->getRequiredColumnsNames())
                {
                    if (!names.contains(name))
                        pre_column_names.push_back(name);
                }
            }
        }
        if (pre_column_names.empty())
            pre_column_names.push_back(column_names[0]);
        const auto injected_pre_columns = injectRequiredColumns(storage, storage_snapshot, data_part, pre_column_names);
        if (!injected_pre_columns.empty())
            should_reorder = true;
        const NameSet pre_name_set(pre_column_names.begin(), pre_column_names.end());
        Names post_column_names;
        for (const auto & name : column_names)
            if (!pre_name_set.contains(name))
                post_column_names.push_back(name);
        column_names = post_column_names;
    }
    MergeTreeReadTaskColumns result;
    NamesAndTypesList all_columns;
    auto options = GetColumnsOptions(GetColumnsOptions::All).withSubcolumns().withExtendedObjects();
    result.pre_columns = storage_snapshot->getColumnsByNames(options, pre_column_names);
    result.columns = storage_snapshot->getColumnsByNames(options, column_names);
    result.should_reorder = should_reorder;
    return result;
}
}