mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Fix test.
This commit is contained in:
parent
76f47ed6ba
commit
8311c23d83
@ -207,8 +207,7 @@ ExpressionAnalyzer::ExpressionAnalyzer(
|
||||
source_columns.swap(physical_columns);
|
||||
else
|
||||
{
|
||||
physical_columns.insert(physical_columns.end(), source_columns.begin(), source_columns.end());
|
||||
source_columns.swap(physical_columns);
|
||||
source_columns.insert(source_columns.end(), physical_columns.begin(), physical_columns.end());
|
||||
removeDuplicateColumns(source_columns);
|
||||
}
|
||||
}
|
||||
|
@ -77,8 +77,8 @@ MergeTreeBlockInputStream::MergeTreeBlockInputStream(
|
||||
}
|
||||
}
|
||||
|
||||
injectVirtualColumns(header);
|
||||
executePrewhereActions(header, prewhere_info);
|
||||
injectVirtualColumns(header);
|
||||
|
||||
ordered_names = getHeader().getNames();
|
||||
}
|
||||
|
@ -42,8 +42,8 @@ MergeTreeThreadBlockInputStream::MergeTreeThreadBlockInputStream(
|
||||
Block MergeTreeThreadBlockInputStream::getHeader() const
|
||||
{
|
||||
auto res = pool->getHeader();
|
||||
injectVirtualColumns(res);
|
||||
executePrewhereActions(res, prewhere_info);
|
||||
injectVirtualColumns(res);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user