Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badboynt1 committed Jan 8, 2025
1 parent 6ddf3d2 commit 0592918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/vm/engine/disttae/txn_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ func (tbl *txnTable) CollectTombstones(
// - exprs: A slice of expressions used to filter data.
// - txnOffset: Transaction offset used to specify the starting position for reading data.
func (tbl *txnTable) Ranges(ctx context.Context, rangesParam engine.RangesParam) (data engine.RelData, err error) {
if len(rangesParam.BlockFilters) == 0 && !rangesParam.DontSupportRelData {
if len(rangesParam.BlockFilters) == 0 && rangesParam.PreAllocBlocks > 128 && !rangesParam.DontSupportRelData {
//no block filters, no agg optimization, not partition table, then we can return object list instead of block list
return tbl.getObjList(ctx, rangesParam)
}
Expand Down

0 comments on commit 0592918

Please sign in to comment.