ALTER VOLUME
Applies to: Databricks SQL
Databricks Runtime 13.2 and later
Unity Catalog only
Alters the name or owner of a volume.
Syntax
ALTER VOLUME volume_name
{ RENAME TO new_volume_name |
[ SET ] OWNER TO principal }
Parameters
-
The name of the volume to be altered.
RENAME TO new_volume_name
Renames
volumne_name
tonew_volume_name
. The new name must be unique and the schema must not change.[ SET ] OWNER TO principal
Transfers ownership of the volume to
principal
.SET
is allowed as an optional keyword.