ahelmihudhud opened a new issue, #2802:
URL: https://github.com/apache/datafusion-comet/issues/2802

   ### Describe the bug
   
   while setting the connection to S3 in 
(native/core/src/parquet/objectstore/s3.rs)
   a mistake is being made in calculating `virtual_hosted_style_request` 
   which causes the connection to use a combination of path style and virtual 
hosted style.
   
   `        virtual_hosted_style_request = path_style.to_lowercase() == "true";
   `
   
   `
       if virtual_hosted_style_request {
           if endpoint.ends_with("/") {
               Some(format!("{endpoint}{bucket}"))
           } else {
               Some(format!("{endpoint}/{bucket}"))
           }
       } else {
           Some(endpoint) // Avoid extra to_string() call since endpoint is 
already a String
       }
   `
   
   ### Steps to reproduce
   
   _No response_
   
   ### Expected behavior
   
   _No response_
   
   ### Additional context
   
   _No response_


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to