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

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   while passing an percentage encoded Path to object store, it re-encode 
before get object.
   e.g.
   
   S3
   
https://github.com/apache/arrow-rs/blob/2b9bbce44abbd93048c674f49c4eb0db72a0a1c8/object_store/src/aws/client.rs#L459
   
   GCS
   
https://github.com/apache/arrow-rs/blob/2b9bbce44abbd93048c674f49c4eb0db72a0a1c8/object_store/src/gcp/mod.rs#L270
   
   a workaround is to pass decoded path from upstream application, even though 
upstream already receive encoded path.
   
   e.g. https://github.com/roapi/roapi/issues/98#issuecomment-1409869735
   
   **Describe the solution you'd like**
   ideally, path should just need encode once. One idea is to improve `Path` to 
include new attribute called 'percent_encoded'
   
   
https://github.com/apache/arrow-rs/blob/2b9bbce44abbd93048c674f49c4eb0db72a0a1c8/object_store/src/path/mod.rs#L135-L138
   
   **Describe alternatives you've considered**
   auto detect whether already percentage encode?
   
   **Additional context**
   <!--
   Add any other context or screenshots about the feature request 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to