From d671fd1310ce6fe38da2b30e2e8f08bde1c6f6b3 Mon Sep 17 00:00:00 2001 From: yuchao Date: Thu, 29 Feb 2024 16:40:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=81=9A=E5=90=88=E5=87=BD?= =?UTF-8?q?=E6=95=B0=E8=A7=A6=E5=8F=91=E8=BD=AC=E6=8D=A2=E5=87=BD=E6=95=B0?= =?UTF-8?q?=E6=97=B6ignore=E5=A4=B1=E6=95=88=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gausskernel/runtime/executor/nodeAgg.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gausskernel/runtime/executor/nodeAgg.cpp b/src/gausskernel/runtime/executor/nodeAgg.cpp index 7d421bfb5..5d2f0d8f2 100644 --- a/src/gausskernel/runtime/executor/nodeAgg.cpp +++ b/src/gausskernel/runtime/executor/nodeAgg.cpp @@ -508,6 +508,7 @@ static void advance_transition_function( fcinfo->argnull[0] = pergroupstate->transValueIsNull; fcinfo->argTypes[0] = InvalidOid; fcinfo->isnull = false; /* just in case transfn doesn't set it */ + fcinfo->can_ignore = aggstate->ss.ps.state->es_plannedstmt->hasIgnore; Node *origin_fcxt = fcinfo->context; if (IS_PGXC_DATANODE && peraggstate->is_avg) {