You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
I need do some file manipulations via dbutils. According to the Databricks Connect V2 docs here: https://docs.databricks.com/en/dev-tools/databricks-connect/python/databricks-utilities.html we should be able to use dbutils from this sdk. However, this does not seem to work at all for external volumes. In a Notebook I can easily use dbutils.fs commands on external volumes via the URI 's3://[bucket]/[prefix]' or via /Volumes/[catalog]/[schema]/[external_volume_name] dbfs location, however, when I use dbutils from this sdk when running code via Databricks Connect I get and error databricks.sdk.core.DatabricksError: No operations allowed on this path when attempting to access an external volume via /Volumes. Is this not possible at all? I can only seem to manipulate dbfs locations outside of /Volumes. How can I perform file system operations on other cloud storage locations? What's even more confusing when you pass an s3 URI to dbutils.fs.ls when running locally in python the SDK seems to ignore the s3://[bucket] part and just assumes that is referring to the root location '/' and returns the listing from there.
The text was updated successfully, but these errors were encountered:
Description
I need do some file manipulations via dbutils. According to the Databricks Connect V2 docs here: https://docs.databricks.com/en/dev-tools/databricks-connect/python/databricks-utilities.html we should be able to use dbutils from this sdk. However, this does not seem to work at all for external volumes. In a Notebook I can easily use dbutils.fs commands on external volumes via the URI 's3://[bucket]/[prefix]' or via /Volumes/[catalog]/[schema]/[external_volume_name] dbfs location, however, when I use dbutils from this sdk when running code via Databricks Connect I get and error
databricks.sdk.core.DatabricksError: No operations allowed on this path
when attempting to access an external volume via /Volumes. Is this not possible at all? I can only seem to manipulate dbfs locations outside of /Volumes. How can I perform file system operations on other cloud storage locations? What's even more confusing when you pass an s3 URI to dbutils.fs.ls when running locally in python the SDK seems to ignore the s3://[bucket] part and just assumes that is referring to the root location '/' and returns the listing from there.The text was updated successfully, but these errors were encountered: