Creating Log Table
Create a log table with the 'CREATE TABLE' syntax.
Mach> CREATE TABLE sensor_data ( id VARCHAR(32), val DOUBLE ); Created successfully. Mach> DROP TABLE sensor_data; Dropped successfully.
Deleting Log Table
Delete log table with 'DROP TABLE' statement.
Mach> DROP TABLE sensor_data; Dropped successfully. -- TRUNCATE deletes only data and keeps table. Mach> TRUNCATE TABLE sensor_data; Truncated successfully.