brucearctor commented on code in PR #13891:
URL: https://github.com/apache/gravitino/pull/13891#discussion_r4588566695
##########
clients/client-python/gravitino/filesystem/gvfs_base_operations.py:
##########
@@ -664,7 +675,9 @@ def _get_actual_filesystem_by_location_name(
f"Cannot find the location: {target_location_name} in fileset:
{fileset_ident}"
)
- fileset_props = self._merge_fileset_properties(fileset_ident,
actual_location)
+ fileset_props = self._merge_fileset_properties(
+ fileset_ident, actual_location, fileset=fileset
Review Comment:
Addressed in 2c4ace1c6 — both Java `getActualFileSystemByLocationName`
(covering `getFileset`, `getAllProperties`, and `createFilesetLocationIfNeed`)
and Python `_get_actual_filesystem_by_location_name` (covering `_get_fileset`
and `_merge_fileset_properties`) now resolve the `Catalog` once and reuse it
throughout the resolution. Added resolver-level unit tests in both clients
verifying `loadCatalog` / `load_catalog` is called once with metadata caching
disabled and default settings.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]