mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-08 03:47:51 +00:00
remove check for column in shard in executeRowsShard
the check happens in executeRows and frag.rowsForColumn will panic if given a column id not in its shard.
This commit is contained in:
parent
ed1b09a1cd
commit
61089981a2
1 changed files with 1 additions and 4 deletions
|
|
@ -1022,10 +1022,7 @@ func (e *executor) executeRowsShard(ctx context.Context, index string, c *pql.Ca
|
|||
if columnID, ok, err := c.UintArg("column"); err != nil {
|
||||
return nil, err
|
||||
} else if ok {
|
||||
if columnID/ShardWidth == shard {
|
||||
return frag.rowsForColumnWithFilter(start, columnID, filter), nil
|
||||
}
|
||||
return RowIDs{}, nil
|
||||
return frag.rowsForColumnWithFilter(start, columnID, filter), nil
|
||||
} else {
|
||||
return frag.rowsWithFilter(start, filter), nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue