fix:[TD-31405] Return correct error code in spread function.

This commit is contained in:
sima 2024-08-13 14:41:19 +08:00
parent f4927bb873
commit 80bb0d7cf8
1 changed files with 1 additions and 1 deletions

View File

@ -4346,7 +4346,7 @@ int32_t spreadPartialFinalize(SqlFunctionCtx* pCtx, SSDataBlock* pBlock) {
_exit:
taosMemoryFree(res);
return TSDB_CODE_SUCCESS;
return code;
}
int32_t spreadCombine(SqlFunctionCtx* pDestCtx, SqlFunctionCtx* pSourceCtx) {