fix(query): fix interp pResBlock->rows > capacity cause assert failure
TD-18445
This commit is contained in:
parent
0e0e8cfad6
commit
13f5acd4b9
|
@ -2154,7 +2154,9 @@ static void doKeepLinearInfo(STimeSliceOperatorInfo* pSliceInfo, const SSDataBlo
|
||||||
|
|
||||||
static void genInterpolationResult(STimeSliceOperatorInfo* pSliceInfo, SExprSupp* pExprSup, SSDataBlock* pResBlock) {
|
static void genInterpolationResult(STimeSliceOperatorInfo* pSliceInfo, SExprSupp* pExprSup, SSDataBlock* pResBlock) {
|
||||||
int32_t rows = pResBlock->info.rows;
|
int32_t rows = pResBlock->info.rows;
|
||||||
|
if (rows >= pResBlock->info.capacity) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
// todo set the correct primary timestamp column
|
// todo set the correct primary timestamp column
|
||||||
|
|
||||||
// output the result
|
// output the result
|
||||||
|
|
Loading…
Reference in New Issue