fix:add pk flag for table condition in tsdb reader
This commit is contained in:
parent
fe7a42b118
commit
862015d261
|
@ -1109,6 +1109,7 @@ int32_t initQueryTableDataCondForTmq(SQueryTableDataCond* pCond, SSnapContext* s
|
||||||
pColInfo->type = pMtInfo->schema->pSchema[i].type;
|
pColInfo->type = pMtInfo->schema->pSchema[i].type;
|
||||||
pColInfo->bytes = pMtInfo->schema->pSchema[i].bytes;
|
pColInfo->bytes = pMtInfo->schema->pSchema[i].bytes;
|
||||||
pColInfo->colId = pMtInfo->schema->pSchema[i].colId;
|
pColInfo->colId = pMtInfo->schema->pSchema[i].colId;
|
||||||
|
pColInfo->pk = pMtInfo->schema->pSchema[i].flags & COL_IS_KEY;
|
||||||
|
|
||||||
pCond->pSlotList[i] = i;
|
pCond->pSlotList[i] = i;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue