mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +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)
|
if (check_columns)
|
||||||
{
|
{
|
||||||
const NamesAndTypesList & columns = storage.getColumns().getAll();
|
const NamesAndTypesList & physical_columns = storage.getColumns().getAllPhysical();
|
||||||
result.pre_columns = columns.addTypes(pre_column_names);
|
result.pre_columns = physical_columns.addTypes(pre_column_names);
|
||||||
result.columns = columns.addTypes(column_names);
|
result.columns = physical_columns.addTypes(column_names);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user