add hash support for stable filter

This commit is contained in:
Liu Jicong 2022-01-27 18:08:34 +08:00
parent 963fb9b9f6
commit b0934caae1
1 changed files with 5 additions and 0 deletions

View File

@ -873,6 +873,11 @@ bool tqNextDataBlock(STqReadHandle* pHandle) {
pHandle->pBlock->schemaLen = htonl(pHandle->pBlock->schemaLen);
pHandle->pBlock->numOfRows = htons(pHandle->pBlock->numOfRows);
return true;
} else if (pHandle->tbIdHash != NULL) {
void* ret = taosHashGet(pHandle->tbIdHash, &pHandle->pBlock->uid, sizeof(int64_t));
if (ret != NULL) {
return true;
}
}
}
return false;