diff --git a/src/gausskernel/runtime/executor/nodeWindowAgg.cpp b/src/gausskernel/runtime/executor/nodeWindowAgg.cpp index 1a198358385d6a11c1e302c0231b4969dbf19574..f6a0f2dee1037a6c0a42eec3a7d966efa9503c0f 100644 --- a/src/gausskernel/runtime/executor/nodeWindowAgg.cpp +++ b/src/gausskernel/runtime/executor/nodeWindowAgg.cpp @@ -628,7 +628,7 @@ static void spool_tuples(WindowAggState* winstate, int64 pos) if (node->partNumCols > 0) { /* Check if this tuple still belongs to the current partition */ if (!execTuplesMatch(winstate->first_part_slot, outer_slot, node->partNumCols, node->partColIdx, - winstate->partEqfunctions, winstate->tmpcontext->ecxt_per_tuple_memory, node->ord_collations)) { + winstate->partEqfunctions, winstate->tmpcontext->ecxt_per_tuple_memory, node->part_collations)) { /* * end of partition; copy the tuple for the next cycle. */