This command creates a VAST database table.
Usage
table create --name TABLE --schema-name SCHEMA --arrow-schema COLUMNS --database-name DATABASE
Required Parameters
| Enter a name for the table being created. The name must meet the requirements for S3 object names. |
| Enter the name of the schema where the table is to be created. |
| Enter a comma-separated list of columns for the new table. The columns are specified using the Arrow format, for example:
|
| Enter the name of the database where the table's schema is created. |
Example
This example shows adding a table named cats to schema schema1 in database vastdb:
vcli: admin> table create --name cats --schema-name schema1 --arrow-schema name-string,age-int8 --database_name vastdb