Skip to content

Commit

Permalink
AWS, GCS: Allow access to underlying storage client (apache#8208)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanck authored Aug 13, 2023
1 parent 9ecd9bf commit 36ca2ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aws/src/main/java/org/apache/iceberg/aws/s3/S3FileIO.java
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ public void deletePrefix(String prefix) {
deleteFiles(() -> Streams.stream(listPrefix(prefix)).map(FileInfo::location).iterator());
}

private S3Client client() {
public S3Client client() {
if (client == null) {
synchronized (this) {
if (client == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public Map<String, String> properties() {
return properties.immutableMap();
}

private Storage client() {
public Storage client() {
if (storage == null) {
synchronized (this) {
if (storage == null) {
Expand Down

0 comments on commit 36ca2ff

Please sign in to comment.