Tables management
The command is used for creating a table. For more detailed information of table definition, please refer to tables.
- Specify the table definition in command line.
Sample:
table my_table created
The command create a table named my_table
.
# bin/kuiper create table -f /tmp/my_table.txt
table my_table created
Below is the contents of my_table.txt
.
The command is used for displaying all of tables defined in the server.
Sample:
# bin/kuiper show tables
my_table
Sample:
# bin/kuiper describe table my_table
Fields
id bigint
score float
FORMAT: json
KEY: id
DATASOURCE: lookup.json
Note: eKuiper do not support query table data by cli. Users need join the table with a stream and check the result
The command is used for drop the table definition.