xloya commented on code in PR #5225:
URL: https://github.com/apache/gravitino/pull/5225#discussion_r1814335625


##########
clients/client-python/gravitino/filesystem/gvfs.py:
##########
@@ -567,6 +569,9 @@ def _convert_actual_path(
             or storage_location.startswith(f"{StorageType.S3A.value}://")
         ):
             actual_prefix = infer_storage_options(storage_location)["path"]
+        elif storage_location.startswith(f"{StorageType.OSS.value}:/"):
+            ops = infer_storage_options(storage_location)
+            actual_prefix = ops["host"] + ops["path"]

Review Comment:
   it's better to check the `ops` whether has `host` and `path` attributes.



-- 
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: commits-unsubscr...@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to