mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 00:55:55 +00:00
don't hide error getting sign bitmap
This commit is contained in:
parent
446950979a
commit
27ca9dab36
1 changed files with 1 additions and 2 deletions
|
|
@ -1552,8 +1552,7 @@ func executeDistinctShardBSI(ctx context.Context, qcx *Qcx, idx *Index, fieldNam
|
|||
|
||||
signBitmap, err := tx.OffsetRange(index, fieldName, view, shard, ShardWidth*shard, ShardWidth*1, ShardWidth*2)
|
||||
if err != nil {
|
||||
// TODO wtf... if there's any error getting the sign bitmap we just return an empty result and move on?
|
||||
return result, nil
|
||||
return result, errors.Wrap(err, "getting sign bitmap")
|
||||
}
|
||||
|
||||
dataBitmaps := make([]*roaring.Bitmap, depth)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue