mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 13:32:13 +00:00
Small fix
This commit is contained in:
parent
66074b3950
commit
29cfe33ed7
@ -1513,10 +1513,10 @@ void SelectQueryExpressionAnalyzer::appendGroupByModifiers(ActionsDAGPtr & befor
|
||||
|
||||
for (const auto & source_column : source_columns)
|
||||
{
|
||||
if (isAggregateFunction(source_column.type))
|
||||
result_columns.push_back(source_column);
|
||||
else
|
||||
if (source_column.type->canBeInsideNullable())
|
||||
result_columns.emplace_back(makeNullableSafe(source_column.type), source_column.name);
|
||||
else
|
||||
result_columns.push_back(source_column);
|
||||
}
|
||||
ExpressionActionsChain::Step & step = chain.lastStep(before_aggregation->getNamesAndTypesList());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user