fix: fix max/min(tag) random result

This commit is contained in:
Ganlin Zhao 2023-04-11 15:46:32 +08:00
parent 28ea375fe1
commit d163a16f3a
1 changed files with 1 additions and 1 deletions

View File

@ -484,7 +484,7 @@ int32_t addTagPseudoColumnData(SReadHandle* pHandle, const SExprInfo* pExpr, int
int32_t code = 0;
// backup the rows
int32_t backupRows = pBlock->info.rows;
int32_t backupRows = (rows == 1) ? rows : pBlock->info.rows;
pBlock->info.rows = rows;
bool freeReader = false;