fix(query): set correct null check function.
This commit is contained in:
parent
b53957c7bb
commit
5a3e4dc1c8
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue