fix(query): count function result on stable inconsistant with normal

table

TD-15116
This commit is contained in:
Ganlin Zhao 2022-04-25 14:47:54 +08:00
parent 21feb85915
commit 970f2d788e
1 changed files with 3 additions and 0 deletions

View File

@ -3828,6 +3828,9 @@ int32_t setSDataBlockFromFetchRsp(SSDataBlock* pRes, SLoadRemoteDataInfo* pLoadI
} }
memcpy(pColInfoData->pData, pStart, colLen[i]); memcpy(pColInfoData->pData, pStart, colLen[i]);
//TODO setting this flag to true temporarily so aggregate function on stable will
//examine NULL value for non-primary key column
pColInfoData->hasNull = true;
pStart += colLen[i]; pStart += colLen[i];
} }
} else { // extract data according to pColList } else { // extract data according to pColList