diff --git a/src/daft-io/src/s3_like.rs b/src/daft-io/src/s3_like.rs index f9bf4ec16b..22f4db2967 100644 --- a/src/daft-io/src/s3_like.rs +++ b/src/daft-io/src/s3_like.rs @@ -220,7 +220,7 @@ async fn build_s3_client(config: &S3Config) -> super::Result<(bool, s3::Client)> let builder = aws_sdk_s3::config::Builder::from(&conf); let builder = match &config.endpoint_url { None => builder, - Some(endpoint) => builder.endpoint_url(endpoint), + Some(endpoint) => builder.endpoint_url(endpoint).force_path_style(true), }; let builder = if let Some(region) = &config.region_name { builder.region(Region::new(region.to_owned()))