mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-06 19:07:50 +00:00
fix compile errors
This commit is contained in:
parent
b6a953cade
commit
f9dbacf332
1 changed files with 2 additions and 2 deletions
|
|
@ -966,7 +966,7 @@ func (g GroupCount) Compare(o GroupCount) int {
|
|||
func (e *executor) executeGroupByShard(_ context.Context, index string, c *pql.Call, shard uint64, childRows []RowIDs) ([]GroupCount, error) {
|
||||
iter, err := newGroupByIterator(childRows, c.Children, index, shard, e.Holder)
|
||||
if err != nil {
|
||||
return errors.Wrapf(err, "getting group by iterator for shard %d", shard)
|
||||
return nil, errors.Wrapf(err, "getting group by iterator for shard %d", shard)
|
||||
}
|
||||
if iter == nil {
|
||||
return []GroupCount{}, nil
|
||||
|
|
@ -2603,7 +2603,7 @@ func newGroupByIterator(rowIDs []RowIDs, children []*pql.Call, index string, sha
|
|||
gbi.rows[i].row = gbi.rows[i].row.Intersect(gbi.rows[i-1].row)
|
||||
}
|
||||
|
||||
return gbi
|
||||
return gbi, nil
|
||||
}
|
||||
|
||||
// nextAtIdx is a recursive helper method for getting the next row for the field
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue