fix: fix max/min(tag) random result
This commit is contained in:
parent
28ea375fe1
commit
d163a16f3a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue