fix linear interpolation bugs

This commit is contained in:
Ganlin Zhao 2023-05-16 11:30:08 +08:00
parent de0cc463e1
commit 6cd9fac7da
1 changed files with 5 additions and 0 deletions

View File

@ -310,6 +310,11 @@ static bool genInterpolationResult(STimeSliceOperatorInfo* pSliceInfo, SExprSupp
break;
}
if (end.key != INT64_MIN && end.key < pSliceInfo->current) {
hasInterp = false;
break;
}
if (start.key == INT64_MIN || end.key == INT64_MIN) {
colDataSetNULL(pDst, rows);
break;