fix: add numOfOutputGroups back when group order scan

This commit is contained in:
slzhou 2024-01-17 13:34:37 +08:00
parent de6b559ab9
commit 449c1631ef
1 changed files with 2 additions and 0 deletions

View File

@ -2155,6 +2155,8 @@ int32_t buildGroupIdMapForAllTables(STableListInfo* pTableListInfo, SReadHandle*
return code;
}
if (pScanNode->groupOrderScan) pTableListInfo->numOfOuputGroups = taosArrayGetSize(pTableListInfo->pTableList);
if (groupSort || pScanNode->groupOrderScan) {
code = sortTableGroup(pTableListInfo);
}