Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitrisStaratzis committed Aug 28, 2024
1 parent b1e0520 commit 3486d00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tiledb/sm/query/writers/global_order_writer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1525,6 +1525,7 @@ NDRange GlobalOrderWriter::ndranges_after_split(
}
uint64_t end = start_ + (rows_of_tiles_to_write * tile_extent) - 1;

// if there is a remainder it means we need one more row
if (tiles_in_current_row_ != 0 && !reached_end_of_fragment && end < end_ &&
moved_row) {
end++;
Expand Down

0 comments on commit 3486d00

Please sign in to comment.