Skip to content

Commit fa44c91

Browse files
authored
[AMORO-4159] [Improvement]: Missing doAs wrapper in MixedTableOperations. (#4160)
1 parent ab8a196 commit fa44c91

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

amoro-format-iceberg/src/main/java/org/apache/amoro/op/MixedTableOperations.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@ public FileIO io() {
6161

6262
@Override
6363
public String metadataFileLocation(String fileName) {
64-
return ops.metadataFileLocation(fileName);
64+
return authenticatedFileIO.doAs(() -> ops.metadataFileLocation(fileName));
6565
}
6666

6767
@Override
6868
public LocationProvider locationProvider() {
69-
return ops.locationProvider();
69+
return authenticatedFileIO.doAs(ops::locationProvider);
7070
}
7171

7272
@Override

0 commit comments

Comments
 (0)