projection rename

Prev Next

This command renames a projection.

Usage

projection rename --database-name DATABASE
                  --schema-name SCHEMA
                  --table-name TABLE
                  --name PROJECTION
                  --new-name NEW_PROJECTION_NAME
                 [--tenant-id TENANT]

Required Parameters

--database-name DATABASE

Specifies the name of the database containing the table.

--schema-name SCHEMA

Specifies the name of the schema containing the table.

--table-name TABLE

Specifies the name of the table.

--name PROJECTION

Specifies the name of the projection to be renamed.

--new-name NEW_PROJECTION_NAME

Specifies the new name of the renamed projection

Options

--tenant-id TENANT

Enter the ID of the tenant where the database resides

If omitted, the default tenant is assumed.

Example

vcli: admin> projection rename --database-name tabular --schema-name vastagoda --table-name agoda --name myProj --new-name newProj
Projection has been renamed