fix: fill operator with wrong input ts order
This commit is contained in:
parent
851210bc14
commit
eb7d23ca95
|
@ -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