fix: percentile empty result issue

This commit is contained in:
dapan1121 2024-09-09 11:31:32 +08:00
parent 8012a1902b
commit 8308a42c0c
1 changed files with 2 additions and 0 deletions

View File

@ -2155,6 +2155,8 @@ int32_t percentileFinalize(SqlFunctionCtx* pCtx, SSDataBlock* pBlock) {
tMemBucketDestroy(pMemBucket);
return functionFinalize(pCtx, pBlock);
}
} else {
return functionFinalize(pCtx, pBlock);
}
_fin_error: