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:

    1. table my_table created

    The command create a table named my_table.

    1. # bin/kuiper create table -f /tmp/my_table.txt
    2. 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:

    1. # bin/kuiper show tables
    2. my_table

    Sample:

    1. # bin/kuiper describe table my_table
    2. Fields
    3. id bigint
    4. score float
    5. FORMAT: json
    6. KEY: id
    7. 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.