Optionaloptions: CallOptionsDeletes a volume from the specified parent catalog and schema.
The caller must be a metastore admin or an owner of the volume. For the latter case, the caller must also be the owner or have the USE_CATALOG privilege on the parent catalog and the USE_SCHEMA privilege on the parent schema.
Optionaloptions: CallOptionsGets a volume from the metastore for a specific catalog and schema.
The caller must be a metastore admin or an owner of (or have the READ VOLUME privilege on) the volume. For the latter case, the caller must also be the owner or have the USE_CATALOG privilege on the parent catalog and the USE_SCHEMA privilege on the parent schema.
Optionaloptions: CallOptionsGets an array of volumes for the current metastore under the parent catalog and schema.
The returned volumes are filtered based on the privileges of the calling user. For example, the metastore admin is able to list all the volumes. A regular user needs to be the owner or have the READ VOLUME privilege on the volume to receive the volumes in the response. For the latter case, the caller must also be the owner or have the USE_CATALOG privilege on the parent catalog and the USE_SCHEMA privilege on the parent schema.
There is no guarantee of a specific ordering of the elements in the array.
PAGINATION BEHAVIOR: The API is by default paginated, a page may contain zero results while still providing a next_page_token. Clients must continue reading pages until next_page_token is absent, which is the only indication that the end of results has been reached.
Optionaloptions: CallOptionsOptionaloptions: CallOptionsUpdates the specified volume under the specified parent catalog and schema.
The caller must be a metastore admin or an owner of the volume. For the latter case, the caller must also be the owner or have the USE_CATALOG privilege on the parent catalog and the USE_SCHEMA privilege on the parent schema.
Currently only the name, the owner or the comment of the volume could be updated.
Optionaloptions: CallOptions
Creates a new volume.
The user could create either an external volume or a managed volume. An external volume will be created in the specified external location, while a managed volume will be located in the default location which is specified by the parent schema, or the parent catalog, or the Metastore.
For the volume creation to succeed, the user must satisfy following conditions:
For an external volume, following conditions also need to satisfy