[Pipeline](projection) Support projection on pipeline engine (#15220)

This commit is contained in:
Gabriel
2022-12-21 15:47:29 +08:00
committed by GitHub
parent a447121fc3
commit af54299b26
16 changed files with 142 additions and 29 deletions

View File

@ -95,8 +95,14 @@ Status VAssertNumRowsNode::get_next(RuntimeState* state, Block* block, bool* eos
INIT_AND_SCOPE_GET_NEXT_SPAN(state->get_tracer(), _get_next_span,
"VAssertNumRowsNode::get_next");
SCOPED_TIMER(_runtime_profile->total_time_counter());
RETURN_IF_ERROR_AND_CHECK_SPAN(child(0)->get_next_after_projects(state, block, eos),
child(0)->get_next_span(), *eos);
RETURN_IF_ERROR_AND_CHECK_SPAN(
child(0)->get_next_after_projects(
state, block, eos,
std::bind((Status(ExecNode::*)(RuntimeState*, vectorized::Block*, bool*)) &
ExecNode::get_next,
_children[0], std::placeholders::_1, std::placeholders::_2,
std::placeholders::_3)),
child(0)->get_next_span(), *eos);
return pull(state, block, eos);
}