This command creates a VAST database table.
Usage
table create --name TABLE --schema-name SCHEMA --arrow-schema COLUMNS --database-name DATABASE [--tenant-id TENANT]
Required Parameters
| Enter the name of the table where you want to add more columns. |
| Enter the name of the schema where the table resides. |
| Enter a comma-separated list of columns to be added. The columns are specified using the Arrow format, for example:
|
| Enter the name of the database where the table resides. |
Options
| Enter the ID of the tenant where the database resides If omitted, the default tenant is assumed. |
Example
This example shows adding a column named age to table cats:
vcli: admin> table create --name cats --schema-name schema1 --arrow-schema age-int8 --database_name vastdb