You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "universalmind303 (via GitHub)" <gi...@apache.org> on 2023/09/18 17:32:09 UTC

[GitHub] [arrow-rs] universalmind303 opened a new issue, #4831: object-store: http-store fails when url doesn't have last-modified header on 0.7.0

universalmind303 opened a new issue, #4831:
URL: https://github.com/apache/arrow-rs/issues/4831

   **Describe the bug**
   prior to `0.7.0` of object_store, you could fetch from urls that didn't have `last-modified` header, after 0.7.0 i get the error
   ```
    Unable to extract metadata from headers: Last-Modified Header missing from response
    ```
   
   **To Reproduce**
   cargo.toml
   ```toml
   [package]
   name = "object-store-mre"
   version = "0.1.0"
   edition = "2021"
   
   # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
   
   [dependencies]
   object_store = { version = "0.7.0", features = ["http", "aws", "azure", "gcp"] }
   tokio = { version = "1.32.0", features = ["rt-multi-thread"] }
   ```
   main.rs
   ```rust
   use object_store::http::HttpBuilder;
   use object_store::path::Path;
   use object_store::ObjectStore;
   
   #[tokio::main]
   async fn main() {
       let http = HttpBuilder::new().with_url("https://raw.githubusercontent.com/GlareDB/glaredb/main/testdata/sqllogictests_datasources_common/data/bikeshare_stations.ndjson");
       let store = http.build().unwrap();
       let path = Path::default();
   
       let res = store.get(&path).await.unwrap();
       println!("{:?}", res);
   }
   ```
   
   **Expected behavior**
   works like it did in previous versions
   
   **Additional context**
   <!--
   Add any other context about the problem here.
   -->


-- 
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: github-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] object-store: http-store fails when url doesn't have last-modified header on 0.7.0 [arrow-rs]

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #4831:
URL: https://github.com/apache/arrow-rs/issues/4831#issuecomment-1768074946

   `label_issue.py` automatically added labels {'object-store'} from #4834


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-rs] tustvold closed issue #4831: object-store: http-store fails when url doesn't have last-modified header on 0.7.0

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold closed issue #4831: object-store: http-store fails when url doesn't have last-modified header on 0.7.0
URL: https://github.com/apache/arrow-rs/issues/4831


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] object-store: http-store fails when url doesn't have last-modified header on 0.7.0 [arrow-rs]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #4831:
URL: https://github.com/apache/arrow-rs/issues/4831#issuecomment-2741683496

   Migrating from arrow-rs issue [#4831](https://github.com/apache/arrow-rs/issues/4831)


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org