schema rename

Prev Next

This command renames a VAST Database schema.

Usage

schema rename --database-name DATABASE
              --name OLD_SCHEMA_NAME
              --new-name NEW_SCHEMA_NAME
             [--tenant-id TENANT]           

Required Parameters

--database-name DATABASE

Specifies the name of the database that contains the schema.

--name OLD_SCHEMA_NAME

Specifies the name of the schema to be renamed.

--new-name NEW_SCHEMA_NAME

Specifies the new name for the schema. The name must meet the requirements for S3 object names.

Options

--tenant-id TENANT

Specifies the ID of the tenant where the database resides

If omitted, the default tenant is assumed.

Example

This example shows renaming a schema named schema1 into abcd:

vcli: admin> schema rename --name schema1 --database_name vastdb --new-name abcd