fix:modify end ts

This commit is contained in:
54liuyao 2022-11-30 09:47:15 +08:00
parent 1d7a404450
commit 1bca95bdad
1 changed files with 1 additions and 1 deletions

View File

@ -1427,7 +1427,7 @@ static void doDeleteFillResult(SOperatorInfo* pOperator) {
streamStateFreeCur(pCur);
pCur = streamStateGetAndCheckCur(pOperator->pTaskInfo->streamInfo.pState, &nextKey);
}
endTs = nextKey.ts - 1;
endTs = TMAX(ts, nextKey.ts - 1);
if (code != TSDB_CODE_SUCCESS) {
break;
}