fix: fix linear interpolation error
This commit is contained in:
parent
51d70ca274
commit
b1ead824f8
|
@ -244,6 +244,11 @@ static bool genInterpolationResult(STimeSliceOperatorInfo* pSliceInfo, SExprSupp
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (end.key != INT64_MIN && end.key < pSliceInfo->current) {
|
||||||
|
hasInterp = false;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
if (start.key == INT64_MIN || end.key == INT64_MIN) {
|
if (start.key == INT64_MIN || end.key == INT64_MIN) {
|
||||||
colDataSetNULL(pDst, rows);
|
colDataSetNULL(pDst, rows);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue