Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel39 committed Feb 27, 2024
1 parent 289aca7 commit 63b5f92
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions be/src/pipeline/exec/union_source_operator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,6 @@ Status UnionSourceOperatorX::get_block(RuntimeState* state, vectorized::Block* b
return Status::OK();
}

bool UnionSourceOperatorX::need_data_from_children(RuntimeState* state) const {
return !_has_data(state);
}

Status UnionSourceOperatorX::get_next_const(RuntimeState* state, vectorized::Block* block) {
DCHECK_EQ(state->per_fragment_instance_idx(), 0);
auto& local_state = state->get_local_state(operator_id())->cast<UnionSourceLocalState>();
Expand Down
2 changes: 0 additions & 2 deletions be/src/pipeline/exec/union_source_operator.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ class UnionSourceOperatorX final : public OperatorX<UnionSourceLocalState> {
}
[[nodiscard]] int get_child_count() const { return _child_size; }

bool need_data_from_children(RuntimeState* state) const override;

private:
bool _has_data(RuntimeState* state) const {
auto& local_state = state->get_local_state(operator_id())->cast<UnionSourceLocalState>();
Expand Down

0 comments on commit 63b5f92

Please sign in to comment.