mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
dbms: addition to prev. revision [#METR-16999].
This commit is contained in:
parent
f2a2054bb7
commit
c449820a13
@ -298,9 +298,6 @@ BlockInputStreams MergeTreeDataSelectExecutor::read(
|
||||
if (!data.sign_column.empty())
|
||||
column_names_to_read.push_back(data.sign_column);
|
||||
|
||||
if (!data.columns_to_sum.empty())
|
||||
column_names_to_read.insert(column_names_to_read.end(), data.columns_to_sum.begin(), data.columns_to_sum.end());
|
||||
|
||||
std::sort(column_names_to_read.begin(), column_names_to_read.end());
|
||||
column_names_to_read.erase(std::unique(column_names_to_read.begin(), column_names_to_read.end()), column_names_to_read.end());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user