Skip to content

Commit

Permalink
[bug](expr)fix operator do_projections without use local_state interm…
Browse files Browse the repository at this point in the history
…ediate_projections
  • Loading branch information
zhangstar333 committed Jul 31, 2024
1 parent 86575e2 commit f061afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/pipeline/exec/operator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ Status OperatorXBase::do_projections(RuntimeState* state, vectorized::Block* ori
vectorized::Block input_block = *origin_block;

std::vector<int> result_column_ids;
for (const auto& projections : _intermediate_projections) {
for (const auto& projections : local_state->_intermediate_projections) {
result_column_ids.resize(projections.size());
for (int i = 0; i < projections.size(); i++) {
RETURN_IF_ERROR(projections[i]->execute(&input_block, &result_column_ids[i]));
Expand Down

0 comments on commit f061afd

Please sign in to comment.