In Cassandra, is there a way to generate CREATE TABLE
statements for all the existing tables inside a particular keyspace?
Asked
Active
Viewed 405 times
0

smeeb
- 27,777
- 57
- 250
- 447
-
Possible duplicate of [Import and export schema in cassandra](http://stackoverflow.com/questions/16440606/import-and-export-schema-in-cassandra) – gsteiner Nov 18 '16 at 14:41
1 Answers
3
DESC KEYSPACE KEYSPACE_NAME
Output CQL commands for the given keyspace. These CQL commands can be used to recreate the keyspace and tables.

Ashraful Islam
- 12,470
- 3
- 32
- 53