developmentseed / developmentseed/obstore

Setting coalesce=0 when calling get_ranges doesn't disable coalescing

Open
#678 1 comment 0 reactions 0 assignees View on GitHub
upstream
Dominant language
Python
Stars
810
Forks
42
Avg merge
1d 15h
Merged PRs (30d)
6

Description

According to [the get_ranges docs](https://developmentseed.org/obstore/latest/api/get/#obstore.get_ranges) for the coalesce param you can "Set to 0 to disable coalescing", but in my testing this doesn't actually work if I want to download adjacent ranges in parallel.

Taking a quick look at the merge_ranges [code in arrow-rs-object-store](https://github.com/apache/arrow-rs-object-store/blob/706b7d8b536fd02a8a323bb8dbeae344fc8d65eb/src/util.rs#L158) it seems that the comparison is `<=` so I guess the documentation is wrong.

Would be nice to actually have this feature though.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.