From a7fe56322d3447c01daba06c43761d2561ba1e40 Mon Sep 17 00:00:00 2001 From: chenhao7253886 <510341142@qq.com> Date: Thu, 7 Dec 2017 15:02:10 +0800 Subject: [PATCH] aggregation with limit bug (#152) --- be/src/exec/aggregation_node.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/be/src/exec/aggregation_node.cpp b/be/src/exec/aggregation_node.cpp index aeaa4a57df..d479e2fddc 100644 --- a/be/src/exec/aggregation_node.cpp +++ b/be/src/exec/aggregation_node.cpp @@ -302,6 +302,7 @@ Status AggregationNode::get_next(RuntimeState* state, RowBatch* row_batch, bool* // avoid calling finalize() duplicately with last tuple // when _output_iterator don't reach end. // chenhao added + _output_iterator.next(); break; } }