[Exec] Add conjection for union_node. (#16777)

This commit is contained in:
ZhaoChangle
2023-02-20 10:48:58 +08:00
committed by GitHub
parent 97230a54fb
commit e958b13747

View File

@ -283,6 +283,7 @@ Status VUnionNode::get_next(RuntimeState* state, Block* block, bool* eos) {
} else if (has_more_const(state)) {
RETURN_IF_ERROR(get_next_const(state, block));
}
RETURN_IF_ERROR(VExprContext::filter_block(_vconjunct_ctx_ptr, block, block->columns()));
*eos = (!has_more_passthrough() && !has_more_materialized() && !has_more_const(state));
reached_limit(block, eos);