diff --git a/src/Interpreters/InterpreterSelectQuery.cpp b/src/Interpreters/InterpreterSelectQuery.cpp index 2b93a027c40..302914b4b1e 100644 --- a/src/Interpreters/InterpreterSelectQuery.cpp +++ b/src/Interpreters/InterpreterSelectQuery.cpp @@ -1086,7 +1086,7 @@ void InterpreterSelectQuery::executeImpl(QueryPlan & query_plan, std::optional
QueryProcessingStage::WithMergeableState && !query.group_by_with_totals && !query.group_by_with_rollup && !query.group_by_with_cube; - + bool use_grouping_set_key = expressions.use_grouping_set_key; if (query.group_by_with_grouping_sets && query.group_by_with_totals)