adj stream operator result

This commit is contained in:
54liuyao 2024-07-18 17:24:36 +08:00
parent afa7d04aaf
commit f161514c19
1 changed files with 1 additions and 1 deletions

View File

@ -1319,7 +1319,7 @@ static SSDataBlock* doStreamHashPartition(SOperatorInfo* pOperator) {
if (hasRemainTbName(pInfo)) {
code = buildStreamCreateTableResult(pOperator);
TSDB_CHECK_CODE(code, lino, _end);
if (pInfo->pCreateTbRes->info.rows > 0) {
if (pInfo->pCreateTbRes && pInfo->pCreateTbRes->info.rows > 0) {
return pInfo->pCreateTbRes;
}
}