diff --git a/crates/polars-io/src/cloud/polars_object_store.rs b/crates/polars-io/src/cloud/polars_object_store.rs index 03b9ddf275389..25a91c10938bd 100644 --- a/crates/polars-io/src/cloud/polars_object_store.rs +++ b/crates/polars-io/src/cloud/polars_object_store.rs @@ -345,7 +345,7 @@ fn merge_ranges(ranges: &[Range]) -> impl Iterator, n_small_merged += 1; } - distance_within_1MiB_or_12perc_max_8MiB + distance_within_1MiB_or_12perc_limit_8MiB && (new_merged_is_closer_to_chunk_size || one_side_is_relatively_small) };