From faaaba46a36eb87e04d1f95b9df0b46a469e08cd Mon Sep 17 00:00:00 2001 From: Mijamind Date: Sat, 11 Nov 2023 16:08:28 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=B5=84=E6=BA=90=E6=B1=A0=E5=8C=96?= =?UTF-8?q?=E3=80=91#I8EESS=20=E4=BF=AE=E5=A4=8D=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E7=9B=AE=E6=A0=87=E5=88=97=E5=8C=85=E5=90=AB=E5=87=BD=E6=95=B0?= =?UTF-8?q?group=5Fconcat=EF=BC=8C=E6=95=B0=E6=8D=AE=E5=BA=93coredump?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gausskernel/runtime/executor/nodeAgg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gausskernel/runtime/executor/nodeAgg.cpp b/src/gausskernel/runtime/executor/nodeAgg.cpp index 6c379be5d..7d421bfb5 100644 --- a/src/gausskernel/runtime/executor/nodeAgg.cpp +++ b/src/gausskernel/runtime/executor/nodeAgg.cpp @@ -3893,7 +3893,7 @@ static void exec_lookups_agg(AggState *aggstate, Agg *node, EState *estate) #ifdef USE_SPQ /* Final function only required if we're finalizing the aggregates */ if (t_thrd.spq_ctx.spq_role != ROLE_UTILITY) { - if (DO_AGGSPLIT_SKIPFINAL(aggstate->aggsplittype) && peraggstate->aggref->aggfnoid != STRINGAGGFUNCOID) + if (DO_AGGSPLIT_SKIPFINAL(aggstate->aggsplittype)) peraggstate->finalfn_oid = finalfn_oid = InvalidOid; else peraggstate->finalfn_oid = finalfn_oid = aggform->aggfinalfn;