Merge pull request #27182 from taosdata/fix/3.0/TD-31405

fix:[TD-31405] Return correct error code in spread function.
This commit is contained in:
dapan1121 2024-08-13 16:07:16 +08:00 committed by GitHub
commit c15d3ec56a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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) {