Merge pull request #15231 from taosdata/szhou/fix/td-17624

fix: continue execution for next group after filter in project produces zero rows
This commit is contained in:
shenglian-zhou 2022-07-21 12:53:53 +08:00 committed by GitHub
commit 62ac50c854
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3355,7 +3355,7 @@ static SSDataBlock* doProjectOperation(SOperatorInfo* pOperator) {
break;
}
if (status == PROJECT_RETRIEVE_CONTINUE) {
if (status == PROJECT_RETRIEVE_CONTINUE || pInfo->pRes->info.rows == 0) {
continue;
} else if (status == PROJECT_RETRIEVE_DONE) {
break;