Merge pull request #16238 from taosdata/fix/TD-18392

fix(query): fix interp + fill(linear) datapoints outside interpolation window are included
This commit is contained in:
Hui Li 2022-08-19 16:16:07 +08:00 committed by GitHub
commit 43881c1469
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -2413,11 +2413,11 @@ static SSDataBlock* doTimeslice(SOperatorInfo* pOperator) {
break;
}
}
}
if (pSliceInfo->current > pSliceInfo->win.ekey) {
doSetOperatorCompleted(pOperator);
break;
}
if (pSliceInfo->current > pSliceInfo->win.ekey) {
doSetOperatorCompleted(pOperator);
break;
}
if (ts == pSliceInfo->current) {