Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
dataroaring committed Sep 19, 2023
1 parent 5909101 commit 289a829
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions be/src/pipeline/exec/scan_operator.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ struct DataReadyDependency : public Dependency {
void* shared_state() override { return nullptr; }

[[nodiscard]] Dependency* read_blocked_by() override {
if (_scanner_ctx->get_num_running_scanners() == 0 &&
_scanner_ctx->should_be_scheduled()) {
if (_scanner_ctx->get_num_running_scanners() == 0 && _scanner_ctx->should_be_scheduled()) {
_scanner_ctx->reschedule_scanner_ctx();
}
return _ready_for_read ? nullptr : this;
Expand Down

0 comments on commit 289a829

Please sign in to comment.