fix(stream): remove invalid check.

This commit is contained in:
Haojun Liao 2023-08-01 10:30:24 +08:00
parent ac00e1d520
commit e89d3c18d6
1 changed files with 2 additions and 4 deletions

View File

@ -210,10 +210,8 @@ int32_t streamScanExec(SStreamTask* pTask, int32_t batchSize) {
block.info.childId = pTask->info.selfChildId;
taosArrayPush(pRes, &block);
numOfBlocks++;
if (numOfBlocks >= batchSize || code != TSDB_CODE_SUCCESS) {
qDebug("s-task:%s scan exec numOfBlocks:%d, limit:%d, code:%s", pTask->id.idStr, numOfBlocks, batchSize,
tstrerror(code));
if ((++numOfBlocks) >= batchSize) {
qDebug("s-task:%s scan exec numOfBlocks:%d, output limit:%d reached", pTask->id.idStr, numOfBlocks, batchSize);
break;
}
}