fix: fill operator with wrong input ts order

This commit is contained in:
wangjiaming0909 2023-06-21 09:23:58 +08:00
parent 851210bc14
commit eb7d23ca95
1 changed files with 2 additions and 0 deletions

View File

@ -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);