mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 17:02:25 +00:00
fixes previous changes 2
This commit is contained in:
parent
84be0fe847
commit
3221c7de85
@ -959,7 +959,11 @@ void InterpreterSelectQuery::executeImpl(TPipeline & pipeline, const BlockInputS
|
|||||||
executeWhere(pipeline, expressions.before_where, expressions.remove_where_filter);
|
executeWhere(pipeline, expressions.before_where, expressions.remove_where_filter);
|
||||||
|
|
||||||
if (expressions.need_aggregate)
|
if (expressions.need_aggregate)
|
||||||
|
{
|
||||||
executeAggregation(pipeline, expressions.before_aggregation, aggregate_overflow_row, aggregate_final, query_info.input_order_info);
|
executeAggregation(pipeline, expressions.before_aggregation, aggregate_overflow_row, aggregate_final, query_info.input_order_info);
|
||||||
|
/// We need to reset input order info, so that executeOrder can't use it
|
||||||
|
query_info.input_order_info.reset();
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
executeExpression(pipeline, expressions.before_order_and_select);
|
executeExpression(pipeline, expressions.before_order_and_select);
|
||||||
|
Loading…
Reference in New Issue
Block a user