Merge pull request #21796 from wangjiaming0909/fix/m/TS-3555
fix: fill operator with wrong input ts order
This commit is contained in:
commit
9c4c411b01
|
@ -187,6 +187,8 @@ static SSDataBlock* doFillImpl(SOperatorInfo* pOperator) {
|
||||||
// the scan order may be different from the output result order for agg interval operator.
|
// the scan order may be different from the output result order for agg interval operator.
|
||||||
if (pDownstream->operatorType == QUERY_NODE_PHYSICAL_PLAN_HASH_INTERVAL) {
|
if (pDownstream->operatorType == QUERY_NODE_PHYSICAL_PLAN_HASH_INTERVAL) {
|
||||||
order = ((SIntervalAggOperatorInfo*) pDownstream->info)->resultTsOrder;
|
order = ((SIntervalAggOperatorInfo*) pDownstream->info)->resultTsOrder;
|
||||||
|
} else {
|
||||||
|
order = pInfo->pFillInfo->order;
|
||||||
}
|
}
|
||||||
|
|
||||||
doHandleRemainBlockFromNewGroup(pOperator, pInfo, pResultInfo, order);
|
doHandleRemainBlockFromNewGroup(pOperator, pInfo, pResultInfo, order);
|
||||||
|
|
Loading…
Reference in New Issue