Skip to content

Commit

Permalink
[fix](schema scan) Finish schema scanner if limitation is reached (ap…
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel39 authored Oct 9, 2024
1 parent bfeb9fe commit 3eb24bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions be/src/pipeline/exec/schema_scan_operator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,9 @@ Status SchemaScanOperatorX::get_block(RuntimeState* state, vectorized::Block* bl
} while (block->rows() == 0 && !*eos);

local_state.reached_limit(block, eos);
if (*eos) {
local_state._finish_dependency->set_always_ready();
}
return Status::OK();
}

Expand Down

0 comments on commit 3eb24bf

Please sign in to comment.