fix: table scan operator change time windows index when reset read handle

This commit is contained in:
slzhou 2022-05-28 08:45:22 +08:00
parent 8a3ed09e51
commit 94c42b9230
1 changed files with 1 additions and 0 deletions

View File

@ -702,6 +702,7 @@ static bool prepareDataScan(SStreamBlockScanInfo* pInfo) {
}
STableScanInfo* pTableScanInfo = pInfo->pOperatorDumy->info;
pTableScanInfo->cond.twindows[0] = win;
pTableScanInfo->curTWinIdx = 0;
tsdbResetReadHandle(pTableScanInfo->dataReader, &pTableScanInfo->cond, 0);
pTableScanInfo->scanTimes = 0;
return true;