Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to:
Databricks SQL Connector
Remove a file from a volume.
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
REMOVE volume_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>
Examples
> REMOVE '/Volumes/test_catalog/test_schema/test_volume/2023/06/file1.csv'