[TD-5931]<fix>:add empty table

This commit is contained in:
shenglian zhou 2021-08-10 11:49:41 +08:00
parent 4ef9ee502e
commit cb9fedfb13
1 changed files with 1 additions and 1 deletions

View File

@ -670,7 +670,7 @@ static STableGroupInfo* trimTableGroup(STimeWindow* window, STableGroupInfo* pGr
SArray* px = taosArrayInit(4, sizeof(STableKeyInfo));
for (int32_t j = 0; j < numOfTables; ++j) {
STableKeyInfo* pInfo = (STableKeyInfo*)taosArrayGet(oneGroup, j);
if (window->skey <= pInfo->lastKey && ((STable*)pInfo->pTable)->lastKey != TSKEY_INITIAL_VAL) {
if (window->skey <= pInfo->lastKey) {
taosArrayPush(px, pInfo);
pNew->numOfTables += 1;
break;