fix:add pk flag for table condition in tsdb reader

This commit is contained in:
wangmm0220 2024-04-01 16:15:34 +08:00
parent fe7a42b118
commit 862015d261
1 changed files with 1 additions and 0 deletions

View File

@ -1109,6 +1109,7 @@ int32_t initQueryTableDataCondForTmq(SQueryTableDataCond* pCond, SSnapContext* s
pColInfo->type = pMtInfo->schema->pSchema[i].type;
pColInfo->bytes = pMtInfo->schema->pSchema[i].bytes;
pColInfo->colId = pMtInfo->schema->pSchema[i].colId;
pColInfo->pk = pMtInfo->schema->pSchema[i].flags & COL_IS_KEY;
pCond->pSlotList[i] = i;
}