diff --git a/src/query/src/qAggMain.c b/src/query/src/qAggMain.c index fe31be8e9b3b92cae2fd87c064dd940207b70ab8..dccca0cf1f967693c616a806edeeccdf59524570 100644 --- a/src/query/src/qAggMain.c +++ b/src/query/src/qAggMain.c @@ -1085,7 +1085,6 @@ static void minMax_function(SQLFunctionCtx *pCtx, char *pOutput, int32_t isMin, DO_UPDATE_TAG_COLUMNS(pCtx, k); } } - *notNullElems += 1; } #if defined(_DEBUG_VIEW)