From 66d4af24a6ff3b0f395cc7d20bda0d041a80a64a Mon Sep 17 00:00:00 2001 From: Alex Duan <417921451@qq.com> Date: Sat, 20 Nov 2021 18:04:08 +0800 Subject: [PATCH] fixed TS-426. group by can not ignore NULL --- src/query/src/qExecutor.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/query/src/qExecutor.c b/src/query/src/qExecutor.c index e4a9316416..03d19d760a 100644 --- a/src/query/src/qExecutor.c +++ b/src/query/src/qExecutor.c @@ -1713,9 +1713,6 @@ static void doHashGroupbyAgg(SOperatorInfo* pOperator, SGroupbyOperatorInfo *pIn int32_t num = 0; for (int32_t j = 0; j < pSDataBlock->info.rows; ++j) { char* val = ((char*)pColInfoData->pData) + bytes * j; - if (isNull(val, type)) { - continue; - } // Compare with the previous row of this column, and do not set the output buffer again if they are identical. if (pInfo->prevData == NULL) { -- GitLab