Skip to content

Commit

Permalink
Catalog/ADLS: change 'ping' endpoint (#9134)
Browse files Browse the repository at this point in the history
Use `getProperties` instead of `getAccessPolicy`, because latter may require more privileges.
  • Loading branch information
snazy authored Jul 18, 2024
1 parent c91a96a commit 5c1f821
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ as necessary. Empty sections will not end in the release notes.
- GC: Fix handling of broken manifest files written by pyiceberg up to 0.6.1
- Catalog/ADLS: Don't let endpoint default to warehouse/object-store URI
- Catalog/ADLS: More informative error message if mandatory `endpoint` is missing.
- Catalog/ADLS: Use a less restrictive endpoint in the 'ObjectIO.ping' function used for health checks.

### Commits

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public void ping(StorageUri uri) {
AdlsLocation location = adlsLocation(uri);

DataLakeFileSystemClient fileSystem = clientSupplier.fileSystemClient(location);
fileSystem.getAccessPolicy();
fileSystem.getProperties();
}

@Override
Expand Down

0 comments on commit 5c1f821

Please sign in to comment.