Skip to content

Commit

Permalink
Fix incorrrect incomplete() return for preprocess having more tiles
Browse files Browse the repository at this point in the history
  • Loading branch information
rroelke committed Jan 24, 2025
1 parent 78dd2fd commit 86c90c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tiledb/sm/query/readers/sparse_global_order_reader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ bool SparseGlobalOrderReader<BitmapType>::incomplete() const {
} else if (!preprocess_tile_order_.enabled_) {
return memory_used_for_coords_total_ != 0;
} else if (preprocess_tile_order_.has_more_tiles()) {
return false;
return true;
} else {
[[maybe_unused]] const size_t mem_for_tile_order =
sizeof(ResultTileId) * preprocess_tile_order_.tiles_.size();
Expand Down

0 comments on commit 86c90c1

Please sign in to comment.