Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
liutang123 committed Dec 30, 2022
1 parent e4b1af9 commit 6e67296
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions be/src/vec/exec/scan/pip_scanner_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ class PipScannerContext : public vectorized::ScannerContext {

// We should make those method lock free.
bool done() override { return _is_finished || _should_stop || _status_error; }
bool no_schedule() override {
return _num_running_scanners == 0 && _num_scheduling_ctx == 0;
}
bool no_schedule() override { return _num_running_scanners == 0 && _num_scheduling_ctx == 0; }
bool empty_in_queue() override { return _blocks_queue_empty; }

private:
Expand Down

0 comments on commit 6e67296

Please sign in to comment.