[refactor](close) refactor ispendingfinish logic and close logic to do close more quickly (#30021)

This commit is contained in:
yiguolei
2024-01-19 15:23:27 +08:00
committed by yiguolei
parent 09d46dc6e4
commit f66f6b2a82
26 changed files with 75 additions and 113 deletions

View File

@ -170,7 +170,6 @@ Status VTableFunctionNode::_get_expanded_block(RuntimeState* state, Block* outpu
while (columns[_child_slots.size()]->size() < state->batch_size()) {
RETURN_IF_CANCELLED(state);
RETURN_IF_ERROR(state->check_query_state("VTableFunctionNode, while getting next batch."));
if (_child_block->rows() == 0) {
break;