HappenLee commented on code in PR #15031: URL: https://github.com/apache/doris/pull/15031#discussion_r1049780940
########## be/src/vec/exec/vunion_node.cpp: ########## @@ -220,6 +221,21 @@ Status VUnionNode::get_next_const(RuntimeState* state, Block* block) { return Status::OK(); } +//for pipeline operator +Status VUnionNode::materialize_child_block(RuntimeState* state, int child_id, + vectorized::Block* input_block, + vectorized::Block* output_block) { + DCHECK_LT(child_id, _children.size()); + DCHECK(!is_child_passthrough(child_id)); + MutableBlock mblock = MutableBlock( Review Comment: rethink the mem reuse and try to merge the block to make sure output_block have `batch_size`. -- 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. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org