yuqi1129 commented on code in PR #5538:
URL: https://github.com/apache/gravitino/pull/5538#discussion_r1857683670


##########
clients/client-python/gravitino/filesystem/gvfs.py:
##########
@@ -577,6 +579,30 @@ def _convert_actual_path(
                 )
 
             actual_prefix = ops["host"] + ops["path"]
+        elif storage_location.startswith(f"{StorageType.ABS.value}://"):
+            ops = infer_storage_options(storage_location)
+            if "username" not in ops or "host" not in ops or "path" not in ops:
+                raise GravitinoRuntimeException(
+                    f"Storage location:{storage_location} doesn't support now. 
as the username,"
+                    f"host and path are required in the storage location."
+                )
+            actual_prefix = 
f"{StorageType.ABS.value}://{ops['username']}@{ops['host']}{ops['path']}"
+
+            # For ABS, the actual path should be the same as the virtual path 
is like
+            # 
'wasbs//[email protected]/test_gvfs_catalog6588/test_gvfs_schema/

Review Comment:
    I have removed the code here, the logic is specific for paths with `wasbs` 
prefixes. 



-- 
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]

Reply via email to