Reputation: 29517
In Cassandra, is there a way to generate CREATE TABLE
statements for all the existing tables inside a particular keyspace?
Upvotes: 0
Views: 639
Reputation: 12840
DESC KEYSPACE KEYSPACE_NAME
Output CQL commands for the given keyspace. These CQL commands can be used to recreate the keyspace and tables.
Upvotes: 3