kangkaisen commented on a change in pull request #3820:
URL: https://github.com/apache/incubator-doris/pull/3820#discussion_r439204078
##########
File path: be/src/exec/analytic_eval_node.cpp
##########
@@ -195,9 +194,19 @@ Status AnalyticEvalNode::open(RuntimeState* state) {
RETURN_IF_CANCELLED(state);
//RETURN_IF_ERROR(QueryMaintenance(state));
RETURN_IF_ERROR(child(0)->open(state));
- // RETURN_IF_ERROR(state->block_mgr()->RegisterClient(2, mem_tracker(),
state, &client_));
- _input_stream.reset(new BufferedTupleStream(state, child(0)->row_desc(),
state->block_mgr()));
- RETURN_IF_ERROR(_input_stream->init(runtime_profile()));
+ RETURN_IF_ERROR(state->block_mgr2()->register_client(2, mem_tracker(),
state, &client_));
+ _input_stream.reset(new BufferedTupleStream2(state, child(0)->row_desc(),
state->block_mgr2(), client_, false, true));
+ RETURN_IF_ERROR(_input_stream->init(id(), runtime_profile(), true));
+
+ bool got_read_buffer;
Review comment:
would better give a better name.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]