tustvold commented on code in PR #2563:
URL: https://github.com/apache/arrow-rs/pull/2563#discussion_r952960180


##########
object_store/src/util.rs:
##########
@@ -101,30 +131,29 @@ where
         while end_idx != ranges.len()
             && ranges[end_idx]
                 .start
-                .checked_sub(ranges[start_idx].end)
+                .checked_sub(range_end)
                 .map(|delta| delta <= coalesce)
-                .unwrap_or(false)
+                .unwrap_or(true)

Review Comment:
   This was the wrong way around, if the start of the next range is less than 
the range_end we want to include it



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to