add threshold for group result

This commit is contained in:
Ganlin Zhao 2023-05-11 10:04:25 +08:00
parent 523f08fe4b
commit 121564de2f
1 changed files with 3 additions and 1 deletions

View File

@ -784,8 +784,10 @@ static SSDataBlock* doTimeslice(SOperatorInfo* pOperator) {
// restore initial value for next group
resetTimesliceInfo(pSliceInfo);
if (pResBlock->info.rows >= 4096) {
break;
}
}
// restore the value
setTaskStatus(pOperator->pTaskInfo, TASK_COMPLETED);