Dropping tables and keyspaces

Steps for removing tables and keyspaces.

With Cassandra CLI commands you can drop tables and keyspaces in much the same way that tables and databases are dropped in a relational database.

Procedure

Drop the example users table and then drop the demo keyspace.
[default@demo] DROP COLUMN FAMILY users;

[default@demo] DROP KEYSPACE demo;