From f061afd0f3380f4aaa14865c8850c0375e6ad932 Mon Sep 17 00:00:00 2001 From: zhangstar333 <2561612514@qq.com> Date: Wed, 31 Jul 2024 18:58:28 +0800 Subject: [PATCH] [bug](expr)fix operator do_projections without use local_state intermediate_projections --- be/src/pipeline/exec/operator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/pipeline/exec/operator.cpp b/be/src/pipeline/exec/operator.cpp index ba3602a91cb1ef7..f67873a7cdf9b9d 100644 --- a/be/src/pipeline/exec/operator.cpp +++ b/be/src/pipeline/exec/operator.cpp @@ -260,7 +260,7 @@ Status OperatorXBase::do_projections(RuntimeState* state, vectorized::Block* ori vectorized::Block input_block = *origin_block; std::vector 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]));