Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Applies to:
Databricks SQL Connector
Get a file from a volume to your local storage.
Note
This statement is only available in the Databricks SQL Connector or when connecting to Databricks using a driver. It cannot be submitted from the UI.
Syntax
GET volume_path TO localfile_path
Parameters
volume_path
A
STRINGliteral with the path of the volume.volume_pathmust be in the format:/Volumes/<catalog>/<schema>/<volume>/<path>/<file_name>, ordbfs:/Volumes/<catalog>/<schema>/<volume>/<path>/<file_name>
localfile_path
A
STRINGliteral with the path of the local file.
Examples
> GET '/Volumes/test_catalog/test_schema/test_volume/2023/06/file1.csv' TO '/home/bob/data.csv'