From 5a3e4dc1c8fc943b61f700fbf5d6e810f545ae1c Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Mon, 28 Nov 2022 19:48:04 +0800 Subject: [PATCH] fix(query): set correct null check function. --- source/libs/scalar/src/sclvector.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/libs/scalar/src/sclvector.c b/source/libs/scalar/src/sclvector.c index a9c83886ae..c4ff5b2b01 100644 --- a/source/libs/scalar/src/sclvector.c +++ b/source/libs/scalar/src/sclvector.c @@ -1597,8 +1597,8 @@ int32_t doVectorCompareImpl(SScalarParam *pLeft, SScalarParam *pRight, SScalarPa int32_t leftIndex = (i >= pLeft->numOfRows) ? 0 : i; int32_t rightIndex = (i >= pRight->numOfRows) ? 0 : i; - if (colDataIsNull_f(pLeft->columnData->nullbitmap, leftIndex) || - colDataIsNull_f(pRight->columnData->nullbitmap, rightIndex)) { + if (colDataIsNull_s(pLeft->columnData, leftIndex) || + colDataIsNull_s(pRight->columnData, rightIndex)) { pRes[i] = false; continue; } -- GitLab