universalmind303 opened a new issue, #4839: URL: https://github.com/apache/arrow-rs/issues/4839
**Describe the bug** if you have a remote file `https://somewhere.com/file.parquet` and your server does not support ranges as specified by the `accept-ranges: bytes` header, the object store should not try to perform range scans. **To Reproduce** ```rust #[tokio::main] async fn main() { let http = HttpBuilder::new().with_url("https://not.arealwebsite.com/file.parquet"); let store = http.build().unwrap(); let path = Path::default(); let mut options = GetOptions::default(); let some_range = 100..2000; options.range = Some(some_range); let data = store.get_opts(&path, options).await.unwrap(); } ``` **Expected behavior** the range is ignored as the server doesn't specify it can handle it. **Additional context** -- 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]
