I'm trying to understand the syntax of DROP TABLE IF EXISTS
in Cassandra.
DROP TABLE IF EXISTS nonexistanttable;
does not seem to work:
$ ./cqlsh
Connected to Test Cluster at localhost:9160.
[cqlsh 4.1.1 | Cassandra 2.0.5 | CQL spec 3.1.1 | Thrift protocol 19.39.0]
Use HELP for help.
cqlsh> USE Foo;
cqlsh:foo> DROP TABLE IF EXISTS bar;
Bad Request: unconfigured columnfamily bar
What am I doing wrong?