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

[GitHub] [arrow-rs] tustvold commented on issue #4843: `object_store` fails on path with space.

tustvold commented on issue #4843:
URL: https://github.com/apache/arrow-rs/issues/4843#issuecomment-1729226335

   I can't seem to reproduce this?
   
   ```
   use object_store::aws::AmazonS3Builder;
   use object_store::path::Path;
   use object_store::ObjectStore;
   
   #[tokio::main(flavor = "current_thread")]
   async fn main() {
       let store = AmazonS3Builder::from_env()
           .with_region("us-east-1")
           .with_bucket_name("nyc-tlc")
           .build().unwrap();
   
       let path= Path::parse("trip data/fhv_tripdata_2015-01.parquet").unwrap();
       println!("{path}");
       let out = store.head(&path).await.unwrap();
       println!("{out:?}")
   }
   ```
   
   Produces
   
   ```
   trip data/fhv_tripdata_2015-01.parquet
   ObjectMeta { location: Path { raw: "trip data/fhv_tripdata_2015-01.parquet" }, last_modified: 2022-05-11T15:17:58Z, size: 12111775, e_tag: Some("\"b0e0c7c7a405628e767ec5de31f7595a\"") }
   ```


-- 
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