mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
Fix
This commit is contained in:
parent
a7898c85b8
commit
0f89be1c5c
@ -118,7 +118,7 @@ namespace
|
||||
{
|
||||
if (!current_columns.contains(key))
|
||||
{
|
||||
logDebug("aggregation key NOT found: {}", key);
|
||||
logDebug("aggregation key NOT found", key);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@ -191,6 +191,9 @@ namespace
|
||||
|
||||
if (aggregation_before_distinct)
|
||||
{
|
||||
if (actions_chain.empty())
|
||||
actions_chain.push_back(std::move(dag_stack));
|
||||
|
||||
const auto distinct_columns = getDistinctColumns(distinct_step);
|
||||
|
||||
if (const auto * aggregating_step = typeid_cast<const AggregatingStep *>(aggregation_before_distinct); aggregating_step)
|
||||
|
Loading…
Reference in New Issue
Block a user