This command renames a VAST Database table.
Usage
table rename --database-name DATABASE --schema-name SCHEMA --name OLD_TABLE_NAME --new-name NEW_TABLE_NAME
Required Parameters
| Specifies the name of the database containing the schema. |
| Specifies the name of the schema containing the table. |
| Specifies the name of the table being renamed. |
| Specifies the new name for the table. The name must meet the requirements for S3 object names. |
Example
This example shows renaming a table named cats into dogs:
vcli: admin> table rename --name cats --schema-name schema1 --database_name vastdb --new-name dogs