From eb7d23ca952f649f424da4497e41a2113673f485 Mon Sep 17 00:00:00 2001 From: wangjiaming0909 <604227650@qq.com> Date: Wed, 21 Jun 2023 09:23:58 +0800 Subject: [PATCH] fix: fill operator with wrong input ts order --- source/libs/executor/src/filloperator.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/libs/executor/src/filloperator.c b/source/libs/executor/src/filloperator.c index f9e8a32520..d22590edb4 100644 --- a/source/libs/executor/src/filloperator.c +++ b/source/libs/executor/src/filloperator.c @@ -187,6 +187,8 @@ static SSDataBlock* doFillImpl(SOperatorInfo* pOperator) { // the scan order may be different from the output result order for agg interval operator. if (pDownstream->operatorType == QUERY_NODE_PHYSICAL_PLAN_HASH_INTERVAL) { order = ((SIntervalAggOperatorInfo*) pDownstream->info)->resultTsOrder; + } else { + order = pInfo->pFillInfo->order; } doHandleRemainBlockFromNewGroup(pOperator, pInfo, pResultInfo, order); -- GitLab