From 79671d3e688ae7a5c32d303dd438b7018b81ec3c Mon Sep 17 00:00:00 2001 From: facetosea <25808407@qq.com> Date: Tue, 16 Jan 2024 10:07:46 +0800 Subject: [PATCH] fix: internal error code --- source/libs/executor/src/aggregateoperator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/libs/executor/src/aggregateoperator.c b/source/libs/executor/src/aggregateoperator.c index a3adb02ab9..715c354873 100644 --- a/source/libs/executor/src/aggregateoperator.c +++ b/source/libs/executor/src/aggregateoperator.c @@ -282,7 +282,7 @@ int32_t doAggregateImpl(SOperatorInfo* pOperator, SqlFunctionCtx* pCtx) { } if ((&pCtx[k])->input.pData[0] == NULL) { - code = TSDB_CODE_PAR_INTERNAL_ERROR; + code = TSDB_CODE_QRY_EXECUTOR_INTERNAL_ERROR; qError("%s aggregate function error happens, input data is NULL.", GET_TASKID(pOperator->pTaskInfo)); } else { code = pCtx[k].fpSet.process(&pCtx[k]); @@ -570,7 +570,7 @@ void applyAggFunctionOnPartialTuples(SExecTaskInfo* taskInfo, SqlFunctionCtx* pC int32_t code = TSDB_CODE_SUCCESS; if (functionNeedToExecute(&pCtx[k]) && pCtx[k].fpSet.process != NULL) { if ((&pCtx[k])->input.pData[0] == NULL) { - code = TSDB_CODE_PAR_INTERNAL_ERROR; + code = TSDB_CODE_QRY_EXECUTOR_INTERNAL_ERROR; qError("%s apply functions error, input data is NULL.", GET_TASKID(taskInfo)); } else { code = pCtx[k].fpSet.process(&pCtx[k]);