mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
GroupBy should terminate even if the last result is empty
This commit is contained in:
parent
72d5081a44
commit
06675c2f9c
1 changed files with 3 additions and 0 deletions
|
|
@ -3178,6 +3178,9 @@ func (gbi *groupByIterator) nextAtIdx(i int) {
|
|||
}
|
||||
if wrapped && i != 0 {
|
||||
gbi.nextAtIdx(i - 1)
|
||||
if gbi.done {
|
||||
return
|
||||
}
|
||||
}
|
||||
if i == 0 && gbi.filter != nil {
|
||||
gbi.rows[i].row = nr.Intersect(gbi.filter)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue