mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Update src/Processors/QueryPlan/Optimizations/useDataParallelAggregation.cpp
Co-authored-by: Nikita Taranov <nikita.taranov@clickhouse.com>
This commit is contained in:
parent
5095a21758
commit
7eacea4c51
@ -156,7 +156,7 @@ bool isPartitionKeySuitsGroupByKey(
|
||||
|
||||
/// We are interested only in calculations required to obtain group by keys (and not aggregate function arguments for example).
|
||||
auto key_nodes = group_by_actions->findInOutpus(aggregating.getParams().keys);
|
||||
auto group_by_key_actions = ActionsDAG::cloneSubDAG(key_nodes, true);
|
||||
auto group_by_key_actions = ActionsDAG::cloneSubDAG(key_nodes, /*remove_aliases=*/ true);
|
||||
|
||||
const auto & gb_key_required_columns = group_by_key_actions->getRequiredColumnsNames();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user