Merge pull request #11828 from taosdata/fix/TD-15116

fix(query): count function result on stable inconsistant with normal table
This commit is contained in:
Ganlin Zhao 2022-04-25 15:22:56 +08:00 committed by GitHub
commit 9122fb077b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -3775,6 +3775,9 @@ int32_t setSDataBlockFromFetchRsp(SSDataBlock* pRes, SLoadRemoteDataInfo* pLoadI
}
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];
}
} else { // extract data according to pColList