feat: add multiple group tsdb reads to table merge scan
This commit is contained in:
parent
c99f7cac79
commit
fd79fcc481
|
@ -2324,6 +2324,10 @@ SSDataBlock* doTableMergeScan(SOperatorInfo* pOperator) {
|
|||
if (!pInfo->hasGroupId) {
|
||||
pInfo->hasGroupId = true;
|
||||
|
||||
if (tableListSize == 0) {
|
||||
doSetOperatorCompleted(pOperator);
|
||||
return NULL;
|
||||
}
|
||||
pInfo->tableStartIndex = 0;
|
||||
pInfo->groupId = ((STableKeyInfo*)taosArrayGet(pInfo->tableListInfo->pTableList, pInfo->tableStartIndex))->groupId;
|
||||
startGroupTableMergeScan(pOperator);
|
||||
|
|
Loading…
Reference in New Issue