Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-ho committed Feb 9, 2024
1 parent 1066ace commit bcf64db
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/daft-io/src/s3_like.rs
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ impl S3LikeSource {
.get_s3_client(region)
.await?
.get_object()
.set_request_payer(Some(s3::types::RequestPayer::Requester))
.bucket(bucket)
.key(key);

Expand Down Expand Up @@ -549,6 +550,7 @@ impl S3LikeSource {
.get_s3_client(region)
.await?
.head_object()
.set_request_payer(Some(s3::types::RequestPayer::Requester))
.bucket(bucket)
.key(key);

Expand Down Expand Up @@ -643,6 +645,7 @@ impl S3LikeSource {
} else {
request
};
let request = request.set_request_payer(Some(s3::types::RequestPayer::Requester));
let response = if self.anonymous {
request
.customize_middleware()
Expand Down

0 comments on commit bcf64db

Please sign in to comment.