Merge pull request #27750 from taosdata/fix/TD-31946.2
fix: percentile empty result issue
This commit is contained in:
commit
1238960c75
|
@ -2155,6 +2155,8 @@ int32_t percentileFinalize(SqlFunctionCtx* pCtx, SSDataBlock* pBlock) {
|
||||||
tMemBucketDestroy(pMemBucket);
|
tMemBucketDestroy(pMemBucket);
|
||||||
return functionFinalize(pCtx, pBlock);
|
return functionFinalize(pCtx, pBlock);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
return functionFinalize(pCtx, pBlock);
|
||||||
}
|
}
|
||||||
|
|
||||||
_fin_error:
|
_fin_error:
|
||||||
|
|
Loading…
Reference in New Issue