fix(query): set correct null check function.

This commit is contained in:
Haojun Liao 2022-11-28 19:48:04 +08:00
parent b53957c7bb
commit 5a3e4dc1c8
1 changed files with 2 additions and 2 deletions

View File

@ -1597,8 +1597,8 @@ int32_t doVectorCompareImpl(SScalarParam *pLeft, SScalarParam *pRight, SScalarPa
int32_t leftIndex = (i >= pLeft->numOfRows) ? 0 : i; int32_t leftIndex = (i >= pLeft->numOfRows) ? 0 : i;
int32_t rightIndex = (i >= pRight->numOfRows) ? 0 : i; int32_t rightIndex = (i >= pRight->numOfRows) ? 0 : i;
if (colDataIsNull_f(pLeft->columnData->nullbitmap, leftIndex) || if (colDataIsNull_s(pLeft->columnData, leftIndex) ||
colDataIsNull_f(pRight->columnData->nullbitmap, rightIndex)) { colDataIsNull_s(pRight->columnData, rightIndex)) {
pRes[i] = false; pRes[i] = false;
continue; continue;
} }