Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel39 committed Sep 5, 2024
1 parent 9882812 commit ef351e7
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion be/src/pipeline/exec/hashjoin_probe_operator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,6 @@ Status HashJoinProbeOperatorX::open(RuntimeState* state) {
init_output_slots_flags(_child_x->row_desc().tuple_descriptors(), _left_output_slot_flags);
init_output_slots_flags(_build_side_child->row_desc().tuple_descriptors(),
_right_output_slot_flags);
RETURN_IF_ERROR(vectorized::VExpr::prepare(_output_expr_ctxs, state, *_intermediate_row_desc));
// _other_join_conjuncts are evaluated in the context of the rows produced by this node
for (auto& conjunct : _other_join_conjuncts) {
RETURN_IF_ERROR(conjunct->prepare(state, *_intermediate_row_desc));
Expand Down
1 change: 1 addition & 0 deletions be/src/pipeline/exec/join_probe_operator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ Status JoinProbeOperatorX<LocalStateType>::init(const TPlanNode& tnode, RuntimeS
template <typename LocalStateType>
Status JoinProbeOperatorX<LocalStateType>::open(doris::RuntimeState* state) {
RETURN_IF_ERROR(Base::open(state));
RETURN_IF_ERROR(vectorized::VExpr::prepare(_output_expr_ctxs, state, *_intermediate_row_desc));
return vectorized::VExpr::open(_output_expr_ctxs, state);
}

Expand Down
1 change: 0 additions & 1 deletion be/src/pipeline/exec/nested_loop_join_probe_operator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,6 @@ Status NestedLoopJoinProbeOperatorX::open(RuntimeState* state) {
for (auto& conjunct : _join_conjuncts) {
RETURN_IF_ERROR(conjunct->prepare(state, *_intermediate_row_desc));
}
RETURN_IF_ERROR(vectorized::VExpr::prepare(_output_expr_ctxs, state, *_intermediate_row_desc));
_num_probe_side_columns = _child_x->row_desc().num_materialized_slots();
_num_build_side_columns = _build_side_child->row_desc().num_materialized_slots();
return vectorized::VExpr::open(_join_conjuncts, state);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,6 @@ Status PartitionedHashJoinProbeOperatorX::open(RuntimeState* state) {
// to avoid open _child_x twice
auto child_x = std::move(_child_x);
RETURN_IF_ERROR(JoinProbeOperatorX::open(state));
RETURN_IF_ERROR(vectorized::VExpr::prepare(_output_expr_ctxs, state, *_intermediate_row_desc));
RETURN_IF_ERROR(_inner_probe_operator->set_child(child_x));
DCHECK(_build_side_child != nullptr);
_inner_probe_operator->set_build_side_child(_build_side_child);
Expand Down
2 changes: 1 addition & 1 deletion be/test/vec/exec/vwal_scanner_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ void VWalScannerTest::init() {
std::make_shared<pipeline::FileScanOperatorX>(&_obj_pool, _tnode, 0, *_desc_tbl, 1);
_scan_node->_output_tuple_desc = _runtime_state.desc_tbl().get_tuple_descriptor(_dst_tuple_id);
WARN_IF_ERROR(_scan_node->init(_tnode, &_runtime_state), "fail to init scan_node");
WARN_IF_ERROR(_scan_node->prepare(&_runtime_state), "fail to prepare scan_node");
WARN_IF_ERROR(_scan_node->open(&_runtime_state), "fail to prepare scan_node");

auto local_state =
pipeline::FileScanLocalState::create_unique(&_runtime_state, _scan_node.get());
Expand Down

0 comments on commit ef351e7

Please sign in to comment.