From b2cc97f55915df0312366c01c251e335bdd6d384 Mon Sep 17 00:00:00 2001 From: obdev Date: Fri, 3 Mar 2023 08:40:59 +0000 Subject: [PATCH] Bugfix for ObPxMSCoordOp: keep projected flag well maintained --- src/sql/engine/px/exchange/ob_px_receive_op.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sql/engine/px/exchange/ob_px_receive_op.cpp b/src/sql/engine/px/exchange/ob_px_receive_op.cpp index 934082f52..a5b78c89c 100644 --- a/src/sql/engine/px/exchange/ob_px_receive_op.cpp +++ b/src/sql/engine/px/exchange/ob_px_receive_op.cpp @@ -528,7 +528,7 @@ int ObPxReceiveOp::wrap_get_next_batch(const int64_t max_row_cnt) brs_.end_ = idx < max_cnt; // set project flag to prevent duplcated expression calculation if (NULL != all_exprs) { - FOREACH_CNT(e, spec_.calc_exprs_) { + FOREACH_CNT(e, *(all_exprs)) { (*e)->get_eval_info(eval_ctx_).projected_ = 1; } } -- GitLab