mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Revert "Strange fix, how it was possible earlier?"
This reverts commit 8d20644c99
.
This commit is contained in:
parent
8d20644c99
commit
e85b50c911
@ -246,9 +246,9 @@ MergeTreeReadTaskColumns getReadTaskColumns(const MergeTreeData & storage, const
|
||||
|
||||
if (check_columns)
|
||||
{
|
||||
const NamesAndTypesList & columns = storage.getColumns().getAll();
|
||||
result.pre_columns = columns.addTypes(pre_column_names);
|
||||
result.columns = columns.addTypes(column_names);
|
||||
const NamesAndTypesList & physical_columns = storage.getColumns().getAllPhysical();
|
||||
result.pre_columns = physical_columns.addTypes(pre_column_names);
|
||||
result.columns = physical_columns.addTypes(column_names);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user